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

A cobol program to read a file , match it with other if.
If match occurs then write it to an output file. If no
match then no need to write it.Error log created by program
to track any error.

Answer Posted / ajay kumar ande

procedure:
1. take 4 seq. files,read two files
2.if rec1(key1)=rec2(key2)
write record3
else
write record4

or using jcl
pgm=iebcmpr
sysut1 dd dsn=dataset1
sysut2 dd dsn=dataset2
sysin dd *
compare typorg=ps/po

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is s000 u4087 error? please give the all error codes in cobol,jcl.

17846


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1130


What is a report item?

1127


What is the compute verb? How is it used?

1120


Name some of the examples of COBOl 11?

3123


When is inspect verb is used in cobol?

1232


What is comp-1 and comp-2?

1213


What is the difference between perform … with test after and perform … with test before?

1410


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

2124


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2113


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2566


Why would you use find and get rather than to obtain?

1162


Write a cobol program making use of the redefine clause.

1145


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9066


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1305