Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

JCL & VSAM :: RE: TSO or command line utility to generate records in PS file

$
0
0
Author: Arun Raj
Posted: Thu Mar 09, 2017 3:05 am (GMT 5.5)

Besides the options already suggested by Robert and Akatsukami, if you have any of the sort products installed, you could make use of the OUTFIL REPEAT with a SEQNUM (you might need a single-dummy-record input)

Something like this:
Code:
//SORTIN   DD *                               
DUMMY-REC                                     
//SYSIN    DD *                               
 OPTION COPY                                   
 OUTFIL REPEAT=100000,BUILD=(9C'0',SEQNUM,6,ZD)


But I am not sure if this is what you are looking for, after seeing the topic title!
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard


Viewing all articles
Browse latest Browse all 8500

Trending Articles