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


Please Help Members By Posting Answers For Below Questions

What are the different types of condition in cobol and write their forms.

658


Write some characteristics of cobol as means of business language.

619


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

855


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1931


Give some examples of command terminators?

757






Why did you choose to work with ibm mainframe cobol programming?

631


How do you define a variable of comp-1 and comp-2?

701


Can we redefine the field of x(200) to less than 200?

818


how do you reference the rrds file formats from cobol programs

798


Difference between cobol and cobol-ii?

704


What is comp-1 and comp-2?

764


HOw can I get the negative sign while deduct high value from low value

1790


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

708


how do you reference the esds vsam file formats from cobol programs

632


) how do u code after getting data?

1580