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
What is the purpose of dd dummy statement?
How is a type of file defined in the jcl that executes the cobol program?
Is it possible to define dd statements as you want?
Explain the purpose of dd dummy statement?
what happens in execution stage in job processing?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
Explain how can the attributes of one sms dataset be copied to another dataset?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Can I send output of job to my remote device careerride123?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Explain how can a jobs execution priority be modified?
what is the JCL statement consists of?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
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?