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

CREATING A HEADER FOR A TXT FILE



I am creating a txt file by doing the following:

open '{FILEPREFIX}filename.txt{FILESUFFIX}' as 1 for-writing
record=132:fixed

I do my select and output as follows:

write 1 from $FILLER:45
                       $DED_AMT:7
                       $PAY_End_DT:6
                       $BIRTHDATE:6
                       $NAME:26

This works fine by giving be a list of data.

Here come the problem. I now need to create a header (summary) record line to
preceed the data dump.
Please help.. TY, CK