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 difference between cobol and cobol/400
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How you can read the file from bottom?
explain sorting techniques in cobol program?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Name the divisions, which are available in a cobol program?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the difference between binary search and sequential search?
Write a cobol program making use of the redefine clause.
What is perform what is varying?
Write the code to count the sum of n natural numbers.
Can you please let me know the centre name of INS certification in Kolkata.
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.