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
List in order the hierarchical levels of jcl?
What happens if both JOBLIB & STEPLIB is specified ?
Is condition checking possible in jcl?
How to override loadlib?
Is automatic restart possible in jcl?
what is DSN parameter and DISP parameter is used for?
Suppose I have five jobs to do. But I want to hold one?
what are JCLLIB and STEPLIB in JCL?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
what is SOC4 error?
Explain the function of a dd statement?
how you can access an uncataloged dataset in a JCL?
How do you submit a job for execution?
what is the resolution for sb37 error