View previous topic :: View next topic
|
Author |
Message |
amity.vikas
New User
Joined: 11 Jan 2006 Posts: 6
|
|
|
|
Hello,
I have to override a program name from say X to Y, of a jobstep(say STEP200) in a production program. Please note i have already overridden the steplib where load module of this program Y is residing.
Please advise. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Vikas,
Pleae note only DD statements can be overriden directly. May be you can pass symbolic parameter to PROC and override the exec thing. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
amithy,
If you are executing a PROC, you can modify all parameters in the EXEC statment except PGM. You cannot modify a PGM parameter. |
|
Back to top |
|
|
amity.vikas
New User
Joined: 11 Jan 2006 Posts: 6
|
|
|
|
Thank you all for your time. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
As Galileo might have said: "Yet you can."
Code: |
2 // JCLLIB ORDER=xxxxxxx.A.PROC
//*
3 //S1 EXEC TEST,PROG=IEFBR14
4 XXTEST PROC PROG=REQUIRED
XX*
5 XXP1 EXEC PGM=&PROG
XX*
IEFC653I SUBSTITUTION JCL - PGM=IEFBR14
. MESSAGE
3 IEFC001I PROCEDURE TEST WAS EXPANDED USING PRIVATE LIBRARY xxxxxxxx
E1PXPTST P1 S1 - STEP WAS EXECUTED - COND CODE 0000 |
|
|
Back to top |
|
|
|