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

What is job control language?

1095


how you can direct the data to spool using SYSOUT option?

1462


What statement can be used to send data to another mvs jes3 node?

1648


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1327


define cond parameter in jcl?

1279


What is the function of the steplib dd statement?

1206


What is Cataloged Procedures?

1170


What is the difference between the positional and keyword parameters? Give examples.

1265


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1077


When space is allocated for an output dataset, what units can be used?

1272


Where & How Do You Code Identifier In Jcl?

1288


How does the jcl specify the job to os?

1159


Explain about LMQUERY�give a dialog information about a data set

1453


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

1373


What are some jcl statements that are not allowed in procedures?

1236