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 / rajendran

Append 1 to the first file to the first position
Append 2 to the second file to the first position

Now SORT both the file records with option to sum on the
1st character.

at last the odd man record will be the one whose first
character would be "2" for all other it will be "3".

Please let me know if I went wrong somewhere.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1605


Discuss about changing dataset name in proc.

1175


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2329


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

1320


What is rmode(24)

1100


what happens if parmparameter passes zero bytes to the program

2084


HOw can I get the negative sign while deduct high value from low value

2213


how can i see junk values in dclgen or in hostvariable of comp ?

2935


Which Search verb is equivalent to PERFORM…VARYING?

999


What is the difference between Call and a Link?

1123


Write a program to explain size error.

1140


What is the Purpose of Pointer in the string?

1028


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1224


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1181


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

1125