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.