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 / msm
//SYSIN DD *
DEBUG ABEND
SORT FIELDS=(8,11,CH,A)
SORT FIELDS=COPY,STOPAFT=200
END
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
a dd statement has 2 types of parameters. Name them?
what is use of space parameter in dd statement?
What are the rules employed while naming the steps in a job?
Name a few IBM utility programs, and explain its function.
how to run batch program without jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
How to do automated restart when a job abend?
What is the function of job statement in jcl?
Explain how can an in-stream dataset be terminated?
Can an individual step be restricted from using all the jobs allowed cpu time?
what are the types of abends that occur on job failure? And explain the possible causes of these
What is the function of //jcllib statement?
how JCL works?
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 are the 2 types of parameters in dd statement?