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
Can we call instream to catalog and catalog to instream?
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
How do you overcome this limitation ?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Explain the function of the steplib dd statement?
What are the parameter we cannot use in procedure?
Explain about ISPF/TSO Commands
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Which statement is used to identify the private libraries in job?
What are the jcl procedures?
Is it possible to left uncode disp?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
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
Explain the function of //cntl statement?