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 / ram g

we can achieve this through jcl icetool utility..

but in cobol its not that easy but possible...

consider the scenario...

file 1 file2
5 2
4 1
6 9
1 4

considering this flat seq file:
here the files are not sorted in order and need not be..
so we should take first record from file1 and match with
all the four records in file2 it should continue for end of
file and do the same for file2. can use array logic.
sorting logic in cobol wont be useful here..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you reference the ksds vsam file formats from cobol programs

1139


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2401


How many sections are there in data division in COBOL?

1097


State the various causes of s0c1, s0c5 and s0c7.

1035


how to convert the recors form vsam file to db2 table tru file aid

3230


What is a scope terminator give example?

1070


how do you reference the variable block file formats from cobol programs

1199


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1187


Can we change the password using ALTER? anyone tried and changed?

1968


what is amode(24), amode(31), rmode(24) and rmode(any)?

1106


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1348


What do you understand by psb and acb?

1077


What is link edit in cobol?

1163


What are the different rules to perform a Search?

1056


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

1384