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 the use of intialize verb?
Write the code implementing the perform … varying.
what are decleratives in cobol?
What is the difference between Call and a Link?
Write some characteristics of cobol as means of business language.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
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?
) what is the difference between AID and HANDLE AID?
What is the difference between PIC 9.99 and PIC9v99?
What is rmode(24)
How do you get the data to code the BMS macro?
) how do u code after getting data?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Mention the guidelines to write a structured cobol program?
State the various causes of s0c1, s0c5 and s0c7.