[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: READ command in SQR 3 vs. 4



Are you sure the blanks are actually there? Use something that allows you
to view the hex values in the source file to make sure you actually have
blanks and not a CR/LF at the end.

If the records are always the same length you can try opening it as a fixed
length record
(RECORD=200:FIXED, for example).  If you do that, make sure you account for
the CR/LF at the end of the record, if this is a pc based file.  Doing this
will read the same number of characters in and ignore any CR/LF characters.

At 01:27 PM 9/22/98 -0400, you wrote:
>I am already doing this.  It's the blanks at the end of the record that I
>need!  As a little more background, the file that I'm reading consists of
>encoded data and I need to preserve all the blanks in order to decode
>properly.
>
> I would appreciate any other ideas that you have.
>