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
how do you reference the fixed unblock file formats from cobol programs
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?
What is the difference between PIC 9.99 and PIC9v99?
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)?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is Pic 9v99 Indicates in COBOL?
How to know whether the module is dynamical or statistical?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the usage of comp fields in cobol?
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?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the difference between perform … with test after and perform … with test before?
what is the use of outrecord?