Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Running Programs of different plans

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
Venky_S

New User


Joined: 02 Mar 2004
Posts: 1
Location: Bangalore

PostPosted: Tue Mar 02, 2004 5:01 pm    Post subject: Running Programs of different plans
Reply with quote

I have a program A which calls Program B.Both of these are Cobol-DB2 programs.Program A calls Program B dynamically.We know that at runtime for a DB2 program we need both the Load as well as the Plan.

While running the program we mention the plan name in the SYSTSIN as

Code:

DSN SYSTEM(DB2T)                                   
   RUN PROGRAM(PROG1)  -                           
   LIB('MY.LOAD')              -
   PLAN(XXXXX)
  END                               



Now if both the Programs are bound to different plans how would we give the SYSTSIN card. Can we give 2 PLAN Names.

Venky
Back to top
View user's profile Send private message
References
PostPosted: Tue Mar 02, 2004 5:01 pm    Post subject: Re: Running Programs of different plans Reply with quote

jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 180
Location: Toronto, Canada

PostPosted: Sat Nov 13, 2004 2:58 am    Post subject:
Reply with quote

I guess we can do it like this

Package Program B.
then bind it to plan A

continue using the plan A.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1481

PostPosted: Sat Nov 13, 2004 3:45 am    Post subject:
Reply with quote

Hi Masade,

It's always good practice to attribute a quote to its author.
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 180
Location: Toronto, Canada

PostPosted: Sat Nov 13, 2004 3:50 am    Post subject:
Reply with quote

Hey Jack,

Generally I do that Man,
Some how I missed it there.

thanx for quoting this
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1