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 |
How do you create a temporary dataset?
which utility is used a dummy utility?
How to point my proc to production dataset always though i keep jcllib order=development.dataset? Is it possible?
Can you delete the GDG base without deleting GDG generations ?
What are steplib and joblib?
Can comments be specified at the very beginning of a jobcard? Will the JCL execute?
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?
A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF DD DSN=ID.File1 DSN=ID.File2 DSN=ID.File3
What is the syntax of JCL statement?
what happens if job falls in loop ? how to resolve it ?
Where can program checkpoints be stored for use in a restart?