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

I have files that contains both duplicates files(occur more
than twice) and non-duplicate files.The file is already
sorted by a key.I want to determine those records that are
duplicate and will be move to a duplicate file and non-
duplicate files to be move to a valid file.thank you.help
please

Answer Posted / tamilselvan

Instead of cobol, try this with SORT in JCl.it will be
easier.
SORT FIELDS=copy
SUM FIELDS=NONE,XSUM


define a file with DD card SORTXSUM after SORTWK file in
the proc step.
You can capture the duplicate rows in the sortxsum file and
non dupliucates in the SORTOUT file.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between structured cobol programming and object-oriented cobol programming.

1095


How do you get the data to code the BMS macro?

1934


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1469


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

9034


Whats the difference between search & search ALL?

6406


What is perform what is varying?

1120


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

2951


What is static and dynamic call in cobol?

1023


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7761


How do get the result of your program directly on your pc?

2303


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1961


What is an in line perform? When would you use it? Anything else you wish to say about it.

1035


Give some examples of command terminators?

1210


What guidelines should be followed to write a structured cobol prgm?

1108


Write a program to explain size error.

1156