I have files that contains both duplicates files(occur more
than twice) and non-duplicate files.The file is already
sorted by a key.I want to determine those records that are
duplicate and will be move to a duplicate file and non-
duplicate files to be move to a valid file.thank you.help
please
Answer Posted / tamilselvan
Instead of cobol, try this with SORT in JCl.it will be
easier.
SORT FIELDS=copy
SUM FIELDS=NONE,XSUM
define a file with DD card SORTXSUM after SORTWK file in
the proc step.
You can capture the duplicate rows in the sortxsum file and
non dupliucates in the SORTOUT file.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Differentiate between structured cobol programming and object-oriented cobol programming.
How do you get the data to code the BMS macro?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Whats the difference between search & search ALL?
What is perform what is varying?
how can i see junk values in dclgen or in hostvariable of comp ?
What is static and dynamic call 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?
How do get the result of your program directly on your pc?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Give some examples of command terminators?
What guidelines should be followed to write a structured cobol prgm?
Write a program to explain size error.