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
Answer Posted / 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 |
Post New Answer View All Answers
How dummy is used in jcl?
how to do automated restart when a job abends?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
Explain the function of a dd statement?
which parameter is use to declare the name of dataset in dd statement?
what is the purpose of coding class parameter in job statement?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
Explain the purpose of the dd keylen parameter?
what is use of dcb parameter in dd statement?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
can any one plzzzzzz tell the jcl code for creating ps using idcams
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
what is the use of IEBGENER utility?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file