[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Beginner's question
- Subject: Beginner's question
- From: "Romaella, Robbi" <rromaella@NESPOWER.COM>
- Date: Tue, 4 May 1999 14:18:17 -0500
Hello everyone,
I will apologize for the simplicity of this question up front as I
am new to SQR.
I would appreciate any help and tolerance you can afford a beginner.
I am writing to a predefined flat file of fixed length. One of the fields is
a calculated field defined as 999999v99.
I am currently using the form:
Write 1 from $Field1:8 $Field2:10 $Fiedl3:10...............
When I add the numeric field #Field4 in the sequence above it will not
let me use the length assignment (#Field4:8 )
The error says that the numeric variable must have :length of 1, 2 or 4
bytes.
Realizing the decimal is only implied, how do I get the fixed field
definition I need?
I thought about moving the numeric variable to a character field, but in the
above form I did
not know how to right justify the field.
Robbi Anne Romaella
SCT Corporation
rromaella@nespower.com
(615) 747-3078