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 / albert
SORT FIELDS=COPY
OUTFIL FILES=1,STOPAFT=5000
OUTFIL FILES=2,SKIPREC=5000
Is This Answer Correct ? | 27 Yes | 8 No |
Post New Answer View All Answers
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
what are the various stages of job processing?
what is DSN parameter and DISP parameter is used for?
How to pass the parameter in parm using linkage section ? (syntax)?
What is the motivation behind coding class parameter in job statement?
What are steplib and joblib?
How to override loadlib?
How can a jobs execution priority be modified?
Is it possible to define dd statements as you want?
Explain the purpose of dd dummy statement?
What is the maximum length of a single line of jcl?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
what are JCLLIB and STEPLIB in JCL?
how to compare two datasets without using superce because output is limited to 133 bytes