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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can values be passed from the job stream to an executable program?

629


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

673


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1969


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2173


Explain the jcl exec statement?

649






Explain how can the submitting users racf authority be overridden in a job stream?

672


Is automatic restart possible in jcl?

742


Explain how can the attributes of one sms dataset be copied to another dataset?

706


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

619


whats the diff bw the evaluate also and and?

1857


In job processing, what happens in execution stage?

698


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1588


What are some jcl statements that are not allowed in procedures?

728


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1950


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

978