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
How to pass data to a program that is coded in an exec statement?
What are hierarchy levels in jcl?
Must tape dataset definitions include vol=ser specifications?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
Can we use DISP=SHR in output file in JCL
What are some jcl statements that are not allowed in procedures?
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?
What are the parameter we cannot use in procedure?
Explain the function of job statement in jcl?
How can the submitting users racf authority be overridden in a job stream?
Define concatenating?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
what happens in conversion stage in job processing?
which utility is used a dummy utility?