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

What is the difference between comp and comp-3 usage?

1203


A table has two indexes defined. Which one will be used by the SEARCH?

1285


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1301


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

2227


how do you reference the rrds file formats from cobol programs

1584


Write a cobol program making use of the redefine clause.

1186


Explain what you understand by passing by value.

1158


How do define dynamic array in cobol.

1145


Why did you choose to work with ibm mainframe cobol programming?

1115


How arrays can be defined in COBOL?

1224


i want a program using by if, evaluate , string, unstring, perform, occurs?

4727


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1441


how do you define single dimensional array and multidimensional array in your cobol?

1110


What are the pertinent COBOL commands?

3181


what are decleratives in cobol?

2265