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 the different components of jcl statement?
when does a dataset go uncataloged?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What is the function of //cntl statement?
what is the JCL statement consists of?
How do you submit a job for execution?
Explain the function of the steplib dd statement?
What are the jcl procedures?
Explain the function of //jcllib statement?
what is the compile process of cobol program expalin with code
Explain the purpose of the dd keylen parameter?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
How to submit a jcl from cics?
Is acct parameter mandatory?
Why include statement is used in a jcl?