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 is the use of intialize verb?

750


Write the code implementing the perform … varying.

646


what are decleratives in cobol?

1828


What is the difference between Call and a Link?

700


Write some characteristics of cobol as means of business language.

621






What is the difference between structured cobol programming and object alternativelyiented cobol programming?

711


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5379


) what is the difference between AID and HANDLE AID?

1637


What is the difference between PIC 9.99 and PIC9v99?

783


What is rmode(24)

682


How do you get the data to code the BMS macro?

1476


) how do u code after getting data?

1580


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686


Mention the guidelines to write a structured cobol program?

620


State the various causes of s0c1, s0c5 and s0c7.

665