View previous topic :: View next topic
|
Author |
Message |
vd120
New User
Joined: 06 Nov 2010 Posts: 24 Location: NYC
|
|
|
|
Hi, I'm splitting input file (RECFM=FB, LRECL=80) to several output files using command SPLIT1R=1000.
Question: Is there a way to add to each output file the same hard-coded record? Let's say have record with value "this is a last record" in each output file as a last record. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Can you show the control cards you have so far?
How many records will be in your input file? |
|
Back to top |
|
|
vd120
New User
Joined: 06 Nov 2010 Posts: 24 Location: NYC
|
|
|
|
This is my control card:
SORT FIELDS=COPY
OUTFIL FNAMES=(L001,L002,L003,L004,L005),SPLIT1R=1000
I 4023 records in the input file, but it may grow up to 27000 (I will add OUTFIL's as needed). |
|
Back to top |
|
|
|