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

What are all the divisions of a COBOL program?

927


What is inspect in cobol ?

1048


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2259


What is the difference between binary search and sequential search?

883


Define cobol?

1095


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17557


Explain the configuration section of a cobol program with examples of syntax.

909


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

1278


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2381


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

883


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

931


What is rmode(any) ?

932


Are you comfortable in cobol or jcl?

836


Have you used comp and comp-3 in your project? And how?

2242


What is a scope terminator give example?

868