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

If there are two files one with 100 records and other with
101 records. we have to find out the one record that is the
odd man out . What are the steps to do it

Answer Posted / prasanna kumar

We can do this by external SORT in JCL
//SORTIN DD DSN=ABC.FILE1 ( that contains of 100 records)
// DD DSN=ABC.FILE2 ( that contains of 101 records)
//SORTOUT DD DSN=ABC.NEWFILE
//SYSIN DD *
SORT FIELDS =(1,4,CH,A) (jst to retreive data in sequence)
SUM FIELDS = NONE ( That eliminates the duplicates and
retrieves the data which is odd in both the files and write
in sort out file)
/*

Any other answers !!!

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define static linking and dynamic linking.

1268


What is the difference between next sentence and continue in cobol programing language?

1274


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2164


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

1642


i need a small 3d program using inline and outline.

2259


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

1265


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3208


what is difference between cobol and cobol/400

23065


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1129


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2324


Whats the difference between search & search ALL?

6656


I have a File that has duplicate records. I need only those records that occur more than thrice.?

10005


What is Pic 9v99 Indicates in COBOL?

1337


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

1375


What is perform what is varying?

1219