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

Read filea And file b write the same records in both files?
Records in a but not in b record in b but not in a

Answer Posted / ravi


JOB INPUT (INFILE1 KEY (INFIL1-ID) +
INFILE2 KEY (INFIL2-ID))
IF MATCHED
PUT OUTFILE1
ELSE
IF INFILE2
OUT1-REC = INFIL1-REC
PUT OUTFILE2
ELSE
OUT1-REC = INFIL2-REC
PUT OUTFILE2

END-IF
END-IF
.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is perform what is varying?

1159


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1500


What do you understand by psb and acb?

1115


what is the difference between COBOL2 AND COBOL390?

3046


how do you reference the printer file formats from cobol programs

1212


What is the difference between external and global variables in COBOL?

1453


What are declaratives and what are their uses in cobol?

1197


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

861


What is rmode(any) ?

1253


What is the difference between goback, stop run and exit program in cobol?

1579


Differentiate between structured cobol programming and object-oriented cobol programming.

1143


What is the difference between Global and External Variables?

1371


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2468


What is difference between static and dynamic call in cobol?

1380


Define static linking and dynamic linking.

1183