[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
- Subject: CREATING A HEADER FOR A TXT FILE
- From: Carol Kohn <Carol.Kohn@MAIL.TJU.EDU>
- Date: Tue, 16 Apr 1996 13:20:29 -0500
- Alternate-Recipient: Allowed
- Conversion: Allowed
- Disclose-Recipients: Prohibited
- Priority: non-urgent
- X400-Content-Type: P2-1984 ( 2 )
- X400-MTS-Identifier: [/c=us/admd=/prmd=tju/; 02E903173D6DD001-MTAtju]
- X400-Originator: Carol.Kohn@mail.tju.edu
- X400-Received: by /c=us/admd=/prmd=tju/; Relayed; 16 Apr 96 13:20:29 -0500
- X400-Received: by mta MTAtju in /c=us/admd=/prmd=tju/; Relayed; 16 Apr 96 13:20:29 -0500
- X400-Recipients: non-disclosure;
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