Quiz text file width

Edis, Bob BEdis@usbnc.org
Thu, 25 Apr 2002 11:29:39 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1EC76.652E8C50
Content-Type: text/plain;
	charset="iso-8859-1"

G'day Chris
 
I don't know what version of UNIX you are using but I seem to remember from
using HP-UX that you can't have fixed length records in a UNIX ISAM file.
The system automatically truncates (put a NULL after that last non-null
character) the record to 'save' space.  I.e. all trailing blanks are
removed.
 
Your suggestion to insert a char at the end of the record is probably the
best way to go.
 
Regards,
Blue

-----Original Message-----
From: Gassett, Chris [mailto:Gassett@aavid.com]
Sent: Thursday, April 25, 2002 11:18 AM
To: 'powerh-l@lists.swau.edu'
Subject: Quiz text file width



I am creating a text file with Quiz that needs to be 80 characters wide.
The data may not fill that 80 characters but the field needs to be displayed
as 80 characters wide.  When I vi the file after the quiz has executed those
records that do not fill the 80 characters are really not 80 characters
wide.  How do I go about creating a txt file that stays 80 characters wide?
I could dump out a char at 81 and use a unix script to strip that character.
Any other suggestions?

PowerHouse  8.13.D3 


------_=_NextPart_001_01C1EC76.652E8C50
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Quiz text file width</TITLE>

<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=992132316-25042002>G'day 
Chris</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=992132316-25042002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=992132316-25042002>I 
don't know what version of UNIX you are using but I seem to remember from using 
HP-UX that you can't have fixed length records in a UNIX ISAM file.&nbsp; The 
system automatically truncates (put a NULL after that last non-null character) 
the record to 'save' space.&nbsp; I.e. all trailing blanks are 
removed.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=992132316-25042002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=992132316-25042002>Your 
suggestion to insert a char at the end of the record is probably the best way to 
go.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=992132316-25042002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=992132316-25042002>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=992132316-25042002>Blue</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Gassett, Chris 
  [mailto:Gassett@aavid.com]<BR><B>Sent:</B> Thursday, April 25, 2002 11:18 
  AM<BR><B>To:</B> 'powerh-l@lists.swau.edu'<BR><B>Subject:</B> Quiz text file 
  width<BR><BR></FONT></DIV>
  <P><FONT face=Arial size=2>I am creating a text file with Quiz that needs to 
  be 80 characters wide.&nbsp; The data may not fill that 80 characters but the 
  field needs to be displayed as 80 characters wide.&nbsp; When I vi the file 
  after the quiz has executed those records that do not fill the 80 characters 
  are really not 80 characters wide.&nbsp; How do I go about creating a txt file 
  that stays 80 characters wide?&nbsp; I could dump out a char at 81 and use a 
  unix script to strip that character.&nbsp; Any other suggestions?</FONT></P>
  <P><FONT face=r_ansi size=2>PowerHouse&nbsp; 8.13.D3</FONT> 
</P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C1EC76.652E8C50--