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...

File1 has 100 records and file2 has 200 records i want to
copy 50 records which r in both file into file3

Answer Posted / ayusman

First you have to join the two files with help of JOJNKEYS
in jcl sort . after that copy first 50 records by using
sort utility

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how would you create a temporary dataset? And where will you use them?

1383


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1277


What is the function of dd disp parameter?

1119


Is automatic restart possible in jcl?

1188


Is it possible to left uncode disp?

1191


what is the JCL statement consists of?

1174


which parameter is use to declare the name of dataset in dd statement?

1242


Explain how can the disposition of sysout datasets be set for an entire jobstream?

1071


Which dd parameters are required?

1171


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1133


define cond parameter in jcl?

1256


What is Cataloged Procedures?

1157


What is the maximum length of a single line of jcl?

1341


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5524


Explain how can an in-stream dataset be terminated?

1309