AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE
DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I
GET THE PROGRAM FOR THIS
Answers were Sorted based on User's Feedback
Answer / girish kumar
Yes, Sort will do it for u.
//........Pgm=sort
........
.........
.........
//sysin DD *
sort fields=copy
SUM FIELDS=NONE
/*
Is This Answer Correct ? | 5 Yes | 0 No |
A Sort program will do that for you. Just write
sumfiled=NONE. This will remove the duplicates for you.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / garry
Yes, Sort will do it for u.
//........Pgm=sort
........
.........
.........
//sysin DD *
copy (complete statement)
SUM FIELDS=NONE
/*
Is This Answer Correct ? | 2 Yes | 1 No |
what is the purpose of coding notify parameter in job statement?
What do you understand by the term notcat 2 – gs?
how you can direct the data to spool using SYSOUT option?
What does IEBGENER do?
hi friends........if u know syntax of IEBEDIT IN JCL
Explain the purpose of the dd keylen parameter?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What is order of searching of the libraries in a JCL?
what is A-MODE and R-MODE?
what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?
How to pass data to a program that is coded in an exec statement?
How to get the last but one duplicate record of the file using Sort?