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 / prakash
sort fields=copy
outfil files=1,endrec=5000
outfil files=2,start rec=5001,endrec=10000
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is Cataloged Procedures?
what are the types of abends that occur on job failure? And explain the possible causes of these
How does jcl act on code(if you take a cobol program)?
Explain dfsort utility?
What are the parameter we cannot use in procedure?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What is the use of symbol // in jcl?
Are there any set of rules for the names of the steps used in a job?
How can a fb file convert to vb file using sort program?
what happens in conversion stage in job processing?
Can I share my data with other jobs? How?
Is it possible to left uncode disp? If yes, how?
What is the purpose of dd?
what is DSN in JCL and what are the parameters to declare the DSN?
How jcl work to handle various input output file operations?