write a program to eliminate duplicate records in a input file
and send them to output file.
Answer Posted / naidu sekhar yandrapu
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 , XSUM
/*
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is difference between cobol and cobol/400
What rules are followed by the search verb.
How you can characterize tables in cobol?
What is the difference between Global and External Variables?
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.
Whats the difference between search & search ALL?
What kind of error is trapped by on size error option?
Explain how you can characterize tables in cobol?
What is the difference between comp and comp-3 usage?
What is the difference between external and global variables in COBOL?
How you can read the file from bottom?
what is search and searchall?what is the diffrence between them?give an best example?
What is amode(24)?
What is the problem of ordered sequential files access?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there