IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Add constant record to split files


 
IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vd120

New User


Joined: 06 Nov 2010
Posts: 24
Location: NYC

PostPosted: Wed Sep 03, 2014 12:32 am
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7312
Location: Inside the Matrix

PostPosted: Wed Sep 03, 2014 4:42 am
Reply with quote

Can you show the control cards you have so far?

How many records will be in your input file?
Back to top
View user's profile Send private message
vd120

New User


Joined: 06 Nov 2010
Posts: 24
Location: NYC

PostPosted: Wed Sep 03, 2014 5:45 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts JOINKEYS to match two input files on ... DFSORT/ICETOOL 3
This topic is locked: you cannot edit posts or make replies. Splice JCL into one record for DD sta... SYNCSORT 2
No new posts Need to split single line into two li... DFSORT/ICETOOL 7
No new posts Group comparison/update between two f... DFSORT/ICETOOL 10
No new posts Need assistance formatting when joini... SYNCSORT 8

Back to Top