how to override PROC? please give answer in details. Please
mention how to write it in JCL. Thanks in advance.
Answers were Sorted based on User's Feedback
Answer / kalpana dwivedi
For Override a proc, syntax is
Stepname.Ddname
For exapmle in a jcl proc is called as
//STEP1 EXEC=PROC1
and PROC1 contains a dd statement
//DD1 DSN=ESDSKXD.REXX.DATA,DISP=SHR
For overriding the DD1 of PROC1, syntax would be:
//STEP1.DD1 DSN=ESDSKXD.REXX.DATA,DISP=SHR
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / heman
Amra, giving a new library in JCLLIB is however possible.
My understanding of the question asked and my query too is,
whether we can provide an JCL override to the called PROC
in a PROC. Please advise if you have solution. Thanks.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / abhilash
What you want to override in a PROC?
Lets take an example
//STEPA EXEC DEBASIS
inside the PROC DEBASIS we have
//STEPA001 EXEX .......,TIME=10
//DD01 DD .......
If you want to override a Step inside the PROC,
In JCL
//STEPA EXEC DEBASIS,TIME.STEPA001=20
If you want to override a DD statement
In JCL
//STEPA EXEC DEBASIS
//STEPA001.DD01 DD parameter=value
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / amra
In
To use a different PROC, you use a different library in the
JCLLIB. Your test PROC can be saved there with the same
name.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / madhus s reddy
@kalpana: it is not possible to override the procedure. What
is the need of overriding the entire procedure?. you can
override only the dd statements in the procedures.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / heman
I cannot totally agree with Dwivedi. But, to the question
whether we can override a PROC, still it is a question to
me. I haven't faced any such examples in my 4 years tenure.
| Is This Answer Correct ? | 1 Yes | 4 No |
what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?
The maximum number of in-stream procedure you can code in any JCL is ?
What is one line to pass PARM from JCL to COBOL?
What is DYNAMBR in jcl?
What is the function of //jcllib statement?
Is it possible to left uncode disp?
What is default if we don't specify RD parameter at all ?
which utility is used a dummy utility?
01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
What is a MODEL Paramater in GDG ?
How to execute step2,step1,step3 when step1,2&3 are in order
I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?
5 Answers Polaris, Tech Mahindra, UST, Wipro,