i have 1000 records in input file and i want to sort it and
the first 200 records to be placed in output file. how to
do that??
Answer Posted / kavya
Write a sort step to sort the entire file. Write another
sort step with the following sort card
SORT FIELDS=COPY,
STOPAFT=200
END
| Is This Answer Correct ? | 19 Yes | 1 No |
Post New Answer View All Answers
What is the use of symbol // in jcl?
Explain how can return codes be tested before execution of a job step?
what is the compile process of cobol program expalin with code
Explain the function of job statement in jcl?
What do you know about jcl?
what are the various stages of job processing?
What is the function of the dd dcb keyword?
How do you create a temporary dataset?
What happens if both JOBLIB & STEPLIB is specified ?
Which dd parameters are required?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
define cond parameter in jcl?
What is condition checking in jcl? Is this possible?
What statement can be used to send data to another mvs jes3 node?
what is use of space parameter in dd statement?