View previous topic :: View next topic
|
Author |
Message |
Venky_S
New User
Joined: 02 Mar 2004 Posts: 1 Location: Bangalore
|
|
|
|
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 |
|
|
jz1b0c
Active User
Joined: 25 Jan 2004 Posts: 160 Location: Toronto, Canada
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Masade,
It's always good practice to attribute a quote to its author. |
|
Back to top |
|
|
jz1b0c
Active User
Joined: 25 Jan 2004 Posts: 160 Location: Toronto, Canada
|
|
|
|
Hey Jack,
Generally I do that Man,
Some how I missed it there.
thanx for quoting this |
|
Back to top |
|
|
|