i have 10,000 records in one input file.i want to sort 1 to
5000 records in one outputfile and remaining records sort in
another output file write the syntax for this?
Answer Posted / v khurana
One more bethod is there, i.e. by using SPLIT1R
OUTFIL FNAMES=(FILE1,FILE2), SPLIT1R=5000
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
what is the difference between JES3 and JES2?
What are steplib and joblib? What for they are used?
List the various advantages of using jcl language?
how you can access an uncataloged dataset in a JCL?
Explain the function of //jcllib statement?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What is the function of the dd avgrec keyword in sms datasets?
What is the purpose of the dd keylen parameter?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
how can the same proc be re-used and called by many jobs?
Explain dd statement in jcl?
What is the motivation behind coding class parameter in job statement?
How does jcl act on a cobol code?
What is the use of symbol // in jcl?
how to do automated restart when a job abends?