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 the function of dd name parameter with a 2 part structure; audit.report?
what operation is performed by job statement?
List the different jcl statements that are not permitted in the procedures?
Define concatenating?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
Explain about LMQUERY�give a dialog information about a data set
When output dataset space is required, what quantity categories are used?
what is JCL?
can any one plzzzzzz tell the jcl code for creating ps using idcams
How to submit a jcl from cics?
Explain how can a stopped job be started again?
A dd statement consists of 4 fields. Name them?
What is the significance of addrspc parameter in the exec statement?