[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re[2]: READ command in SQR 3 vs. 4
- Subject: Re[2]: READ command in SQR 3 vs. 4
- From: Richard Mitchell <richard.mitchell@GSA.GOV>
- Date: Tue, 22 Sep 1998 14:35:00 -0400
Just a thought. Can the files be re-written replacing the <SPACE> with
a <NON-SPACE> character, then run a convert routine after the data is
read, prior to decoding?
Lots of work...but just a thought.
______________________________ Reply Separator _________________________________
Subject: Re: READ command in SQR 3 vs. 4
Author: "john walker" <john_a._walker@firstenergycorp.com> at internet
Date: 9/22/98 1:27 PM
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.
Albert Howard <starbukk@concentric.net> on 09/22/98 09:40:05 AM
Please respond to SQR-USERS@USA.NET
To: Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
cc: (bcc: John A. Walker/CEI/FirstEnergy)
Subject: Re: READ command in SQR 3 vs. 4
Read the entire record into one variable and use a let $var = substr(...)
command populate the individual fields. Then you get everything.
At 07:37 AM 9/22/98 -0400, you wrote:
>In SQR Ver 3.0 the manual states when using the READ command, "after being
>transferred, trailing blanks in the variable are omitted". This is
causing
>me some heartburn as I need to preserve all the characters in the file
that
>I am reading in. Does this same problem occur in SQR Ver 4? Has anyone
>else hit this problem and developed a workaround? I thought of using the
>length function but I don't know how long the string should be in order to
>determine if the blanks have been removed. Thanks in advance for your
>help.
>