Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
The TS question is not very clear, to say the least.
Here are 3 things that can be done with procedures, maybe it will help:
1. Nested procedures
You can create a new procedure that calls the original one, with new defaults:
Code: |
//BATXYZT PROC X1=OVER1,X2=OVER2
//RUNABCD EXEC PROC=BATABCD,X1=&X1,X2=&X2
// PEND |
2. Change DD statement
If the original statement has 2 DD cards, you can add a 3rd one by using blank operands:
Code: |
//step.CEEOPTS DD
// DD
// DD DISP=SHR,DSN=xyz(OVER3) |
3. You can combine the 2 possibilities together
Create a new procedure with modified DD statement:
Code: |
//BATXYZT PROC X1=OVER1,X2=OVER2,X3=OVER3
//RUNABCD EXEC PROC=BATABCD,X1=&X1,X2=&X2
//step.CEEOPTS DD
// DD
// DD DISP=SHR,DSN=xyz(&X3)
// PEND |
Note: I am at home, I am not able to verify this JCL. You'll have to try yourself. And read the manual... |
|