write a program to eliminate duplicate records in a input file
and send them to output file.THIS IS IGATE RECENT
QUESTIONN.....JUST 1 WEEK BACKKKK...
Answer Posted / shan
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
/*
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Which division and paragraphs are mandatory for a COBOL program?
What are declaratives and what are their uses in cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the usage of comp fields in cobol?
Which Search verb is equivalent to PERFORM…VARYING?
How can you get the ksds file records into your cobol program?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Can you please let me know the centre name of INS certification in Kolkata.
Have you used comp and comp-3 in your project? And how?
What is the compute verb? How is it used?
In COBOL programming, what is PERFORM? What is VARYING?
What is amode(31)
What is a scope terminator give example?