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

Why include statement is used in a jcl?

887


Define concatenating?

851


How does the jcl specify the job to os?

875


When output dataset space is required, what quantity categories are used?

1078


What is the purpose of dd?

948


What is concatenating?

843


Explain the purpose of the dd keylen parameter?

864


What parameter directs the output of the job log dataset?

972


State the uses of syspring, sysin, sort fields, sum fields and dummy.

830


What is the significance of addrspc parameter in exec statement?

939


What is the purpose of disp parameter?

835


which utility is used a dummy utility?

1063


Explain the purpose of dd dummy statement?

886


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

995


how you can direct the data to spool using SYSOUT option?

1148