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
What are literals?
Explain the configuration section of a cobol program with examples of syntax.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are the different types of condition in cobol and write their forms.
how to refer the data field?
Why did you choose to work with ibm mainframe cobol programming?
what are decleratives in cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
what is amode(24), amode(31), rmode(24) and rmode(any)?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
how do you reference the variable block file formats from cobol programs
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Write the code implementing the perform … varying.
how do you reference the ksds vsam file formats from cobol programs
) how do u code after getting data?