I have a files containing both duplicate and non-duplicate
records.The file is already sorted by a key.I want to
determine those records that are duplicate and records that
are non-duplicate.If duplicate the record is move to a
duplicate file and if non-duplicate that will be move to
valid file.thank you

Answer Posted / kk

hi,
using sort its possible.
sum fields=none,xsum
matching record present in sortout.
non matching record present in xsum.
another type using file matching concept.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IF I mention stop run in CICS what happens?

1905


What is the usage of comp fields in cobol?

666


What is the difference between comp and comp-3?

710


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

1534


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

704






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

8191


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

840


State the various causes of s0c1, s0c5 and s0c7.

667


Write a cobol program making use of the redefine clause.

744


What is the difference between PIC 9.99 and 9v99 in COBOL?

745


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

8688


What is a SSRANGE and NOSSRANGE?

839


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

754


what is difference between cobol and cobol/400

21597


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

1038