write a program to eliminate duplicate records in a input file
and send them to output file.
Answer Posted / naidu sekhar yandrapu
We can use JCL SORT utility using SYSIN DD * SUM fields =
none, will eliminate duplicate and store in a different dataset.
e.g
//SORTXSUM DD DSN=... Output eliminated by the SUM stm
//SYSIN DD *
SORT FIELDS=(1,3,CH,A)
SUM FIELDS=NONE , XSUM
/*
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can you get the ksds file records into your cobol program?
) what is the difference between AID and HANDLE AID?
Write down the divisions of cobol program?
What is the difference between binary search and sequential search?
what is the use of outrecord?
how do you reference the rrds file formats from cobol programs
What is the difference between Global and External Variables?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are the various section in data division and briefly explain them.
What is a scope terminator give example?
Name some of the examples of COBOl 11?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is report-item in COBOL?