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 |
In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps only,can any one answer me please?
wht is sysudump n sysout,sysprint ?
Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Is automatic restart possible in jcl? If yes, how?
I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.
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
If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job
Suppose I have Five Steps in PROC In this Case I want to Execute third Step in PROC using Main JCL don't use any COND Explain with Coding Thanks & Regards SHREE
We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?