IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Are multiple loadlibs possible for running IKJEFT01


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
IanC

New User


Joined: 27 Jan 2008
Posts: 2
Location: Australia

PostPosted: Mon Mar 10, 2008 3:19 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Mar 10, 2008 3:42 pm
Reply with quote

You can still use STEPLIB. However, in this case, I recommend removing the LIB operand (just to avoid confusion).

O.
Back to top
View user's profile Send private message
mftrigger

New User


Joined: 18 Feb 2006
Posts: 23
Location: chennai

PostPosted: Mon Mar 10, 2008 4:02 pm
Reply with quote

U can do this using a STEPLIB for DB2 programs too. We do like that!!
Back to top
View user's profile Send private message
IanC

New User


Joined: 27 Jan 2008
Posts: 2
Location: Australia

PostPosted: Mon Mar 10, 2008 4:42 pm
Reply with quote

Thanks for the replies. That will make things much easier.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
Search our Forums:

Back to Top