Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1884


How do you submit a job for execution?

1164


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

2344


List in order the hierarchical levels of jcl?

1150


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

1283


Can I share my data with other jobs? How?

1196


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

1347


what is use of space parameter in dd statement?

1333


What are s0c1, s0c4, s0c5, s0c7 and socb?

1219


what happens in execution stage in job processing?

1193


What is the function of the dd mgmtclas keyword in sms datasets?

1295


what is a jcl?

1179


Is automatic restart possible in jcl?

1278


What is catelog procedure and how many catelog procedure to use in one job?

8792


How jcl work to handle various input output file operations?

1222