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

Is it possible to left uncode disp?

804


What is the function of a dd statement?

805


What does a disposition of (MOD,DELETE,DELETE) mean ?

763


Can we use DISP=SHR in output file in JCL

1070


What is NOTCAT ?

842






How is the record format of an output dataset specified?

847


How can a jobs execution priority be modified?

886


Is their any set of rules for dd? Explain.

754


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2267


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

1013


how you can access an uncataloged dataset in a JCL?

744


define cond parameter in jcl?

874


Does jcl support automatic restart?

855


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

859


What is condition checking in jcl? Is this possible?

706