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
Describe the cobol database components?
Which division and paragraphs are mandatory for a COBOL program?
What rules are to be followed while using the corresponding options?
how to refer the data field?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Write a cobol program making use of the redefine clause.
explain sorting techniques in cobol program?
What is the use of intialize verb?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are literals?
Can we change the password using ALTER? anyone tried and changed?
What are the access modes of START statement?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic