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 are the utility programs in jcl?
What are the rules employed while naming the steps in a job?
Matching Logic in Jcl not in cobol.Could any one please answer this question
What is the use of symbol // in jcl?
which utility is used a dummy utility?
Explain about LMFREE�free data set from its association with data ID
what happens in conversion stage in job processing?
What is the purpose of dd * statement in jcl?
Is it possible to code instream data in a PROC?
What do you understand by the terms: joblib and steplib?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Are there any set of rules for the names of the steps used in a job?
Why include statement is used in a jcl?
i want to store 20 digits . how will u do it in cobol ?
Mention the types of job control statements?