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
how do you reference the variable block file formats from cobol programs
In COBOL, what is the different between index and subscript?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Can a Search can be done on a table with or without Index?
Have you used comp and comp-3 in your project? And how?
How do define dynamic array in cobol.
example for sub strings ? and refernce modifications whit output pls
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How do you differentiate between cobol and cobol-ii?
What is perform what is varying?
What are the different rules for performing sort operation?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Name the divisions, which are available in a cobol program?