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 are decleratives in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the difference between external and global variables in COBOL?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How can you get the ksds file records into your cobol program?
how do you reference the fixed unblock file formats from cobol programs
How do you differentiate between cobol and cobol-ii?
What are declaratives and what are their uses in cobol?
When is inspect verb is used in cobol?
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?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Which Search verb is equivalent to PERFORM…VARYING?
What is the LINKAGE SECTION used in COBOL?