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

what is DD statement is used in JCL?

1193


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1458


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2454


What is the function of the dd dcb keyword?

1337


What are the utility programs in jcl?

1159


How can a jobs execution priority be modified?

1292


Why include statement is used in a jcl?

1177


Mention the types of job control statements?

1174


For what purpose steplib and joblib are used ?

1138


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

1480


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1280


Is it possible to define dd statements as you want?

1113


how can the same proc be re-used and called by many jobs?

1505


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

1213


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1542