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 |
If a jcl has just 1 step and the input file to this does not exist, then what will happen if we submit this job?
What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?
what is fixed length and variable length and difference between them
What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?
How to submit a jcl from cics?
Explain about Internal Sort
How jcl work to handle various input output file operations?
What do you understand by the term notcat 2 – gs?
what is SOC4 error?
I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps??
9 Answers IBM, Infosys, TCS, Xansa, Xchanging,
How can an in-stream dataset be terminated?
What does the statements: typrun=scan and typrun=hold do in a JCL statement