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 to execute 2nd and 4th steps among 5 steps in jcl proc?

1243


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

8575


How would you understand error(execution phase)?

1192


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1349


what are the various stages of job processing?

1247


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1338


Explain dfsort utility?

1295


which utility is used to sort a file in jcl?

1181


How can the attributes of one sms dataset be copied to another dataset?

1372


Can an individual step be restricted from using all the jobs allowed cpu time?

1519


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

1318


Explain dd statement in jcl?

1069


What is timing concept in mainframe?

2161


I need exexution process for JCL programs

2239


How can return codes be tested before execution of a job step?

1441