View previous topic :: View next topic
|
Author |
Message |
IanC
New User
Joined: 27 Jan 2008 Posts: 2 Location: Australia
|
|
|
|
I have to run a series of batch DB2 programs via IKJEFT01 using a card which specifies the program loadlib e.g
//SYSTSIN DD *
DSN SYS(db2 subsystem name)
RUN PROGRAM(PROGA) LIB(ZZZ.PROG.LIB) PLAN(planname)
END
My application programs could be in one of three load libraries e.g SYSTEST, UAT, PRODUCTION. I can do this using a STEPLIB for non DB2 programs, but how can I code for this for a DB2 program without having to manually check and fix up the card for every program?.
Thanks. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can still use STEPLIB. However, in this case, I recommend removing the LIB operand (just to avoid confusion).
O. |
|
Back to top |
|
|
mftrigger
New User
Joined: 18 Feb 2006 Posts: 23 Location: chennai
|
|
|
|
U can do this using a STEPLIB for DB2 programs too. We do like that!! |
|
Back to top |
|
|
IanC
New User
Joined: 27 Jan 2008 Posts: 2 Location: Australia
|
|
|
|
Thanks for the replies. That will make things much easier. |
|
Back to top |
|
|
|