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 to remove 2 duplicate records and copy only one using job control language?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Can a Search can be done on a table with or without Index?
What are the pertinent COBOL
What are the pertinent COBOL commands?
Can we redefine the field of x(200) to less than 200?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the difference between Global and External Variables?
how do you reference the variable unblock file formats from cobol programs
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
how do you reference the rrds file formats from cobol programs
How you can read the file from bottom?
How you can characterize tables in cobol?
What is the compute verb? How is it used?
how do you reference the ksds vsam file formats from cobol programs