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
a dd statement has 2 types of parameters. Name them?
Explain about LMFREE�free data set from its association with data ID
What is Cataloged Procedures?
which utility is used a dummy utility?
How to pass data to a program that is coded in an exec statement?
what are the types of abends that occur on job failure? And explain the possible causes of these
what is use of space parameter in dd statement?
What are steplib and joblib? What for they are used?
Is their any set of rules for dd? Explain.
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What do you understand by jcl?
Explain how can the attributes of one sms dataset be copied to another dataset?
Explain the purpose of dd dummy statement?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?