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
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Mention the guidelines to write a structured cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is redefines clause in COBOL?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
how to refer the data field?
What is the local-storage section?
how do you reference the esds vsam file formats from cobol programs
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
How do get the result of your program directly on your pc?
) what is the difference between AID and HANDLE AID?
how to move the records from file to array table. give with code example
What is the difference between binary search and sequential search?
what is amode(24), amode(31), rmode(24) and rmode(any)?