I have a file in which I have 20 records. I want my first
record to go into file 1 and second record to go in second
file. I want to copy the alternate records like this in the
two output files. How can I do this using JCL?
Answer Posted / bala
we can add seqnum to each record in the file using SORT
command and copy then use INCLUDE & EXCLUDE COND of SORT
for this.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
what is the JCL statement consists of?
What are steplib and joblib? What for they are used?
What dd statement is used to supply the name of a dataset?
Why include statement is used in a jcl?
when can a job time-out occur? How to overcome that?
How can return codes be tested before execution of a job step?
what are the various stages of job processing?
what is the difference between JES3 and JES2?
Explain about ISPF/TSO Commands
Explain the jcl exec statement?
How can a stopped job be started again?
What is the purpose of dd?
Give the syntax of job specifying jcl statement.
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
what is the use of IEBGENER utility?