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


Please Help Members By Posting Answers For Below Questions

Is automatic restart possible in jcl? If yes, how?

658


what happens in execution stage in job processing?

657


What are the 4 fields in dd statement?

744


Where can program checkpoints be stored for use in a restart?

851


when does a dataset go uncataloged?

838






What is the format of comment statement?

669


Explain the purpose of dd dummy statement?

672


what is “Cond= even” and “Cond=only”?

743


Can I send output of job to my remote device careerride123?

668


What is the function of the steplib dd statement?

744


Brief description of inline procedure of jcl.

687


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2173


What are steplib and joblib?

725


what is the compile process of cobol program expalin with code

2003


How do you access an uncatalogued dataset in a jcl?

729