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 / harsha

Give both input files in concatenation to SORTIN.
SORT FIELDS=NONE,XSUM

This will copy all duplicate records from both files to
SORTXSUM dataset.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is condition checking possible in jcl?

1143


I need exexution process for JCL programs

2224


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

1022


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

1054


What do you understand by the terms: joblib and steplib?

1101


How can a fb file convert to vb file using sort program?

1288


What is one line to pass PARM from JCL to COBOL?

4896


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

10000


what are JCLLIB and STEPLIB in JCL?

1105


How jcl is used for testing batch programs?

1217


How gdg are concatenated?

1056


Name what parameter directs the output of the job log dataset?

1002


A dd statement consists of 4 fields. Name them?

1374


is there any way to execute more than one proc in the same exec statement at the same time..?

2578


Is automatic restart possible in jcl?

1148