Copy 1 to 500 records from one file to another file
Posted: Fri Oct 05, 2007 7:42 pm
how to copy 1 to 500 records from one file to another file by using jcl?
can anybody give the help ple...
can anybody give the help ple...
Mainframe Technical Support Forums
http://www.ibmmainframeforum.com/
Code: Select all
//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=... file1
//SORTOUT DD DISP=MOD,DSN=... file2
//SYSIN DD *
OPTION COPY,STOPAFT=500
/*