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
What is a scope terminator give example?
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.
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How do u write test cases?
Write a program to explain size error.
how do you reference the printer file formats from cobol programs
) How do u handle errors in BMS macro
What is Pic 9v99 Indicates in COBOL?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the difference between Global and External Variables?
how do you reference the ksds vsam file formats from cobol programs
how to access the file from prodution from changeman tool and to submit a file to production
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Explain about different table spaces.