I have two files each contains 10 records. I would like to
copy both files into one output file but in alternate
sequence. for e.g. first record from file1 then record 2
from file2.....
Answer Posted / aks
Use df sort utility and use infile and outfile for writing
the record into output file.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Must tape dataset definitions include vol=ser specifications?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What is the function of job statement in jcl?
Explain about LMQUERY�give a dialog information about a data set
List in order the hierarchical levels of jcl?
What are the parameters that are used in creating a gdg?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
What is the purpose of dd?
Are there any set of rules for the names of the steps used in a job?
How jcl is used for testing batch programs?
What is the difference between run mode and addressing mode?
is there any way to execute more than one proc in the same exec statement at the same time..?
Differentiate between the joblib and the steplib statements?
Can we call instream to catalog and catalog to instream?