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

Can we have the same plan for two DB2 programs ????


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
skkp2006

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Wed Mar 28, 2007 4:45 pm
Reply with quote

Can we have the same plan for two DB2 programs ????

like when u execute the program i can do like below

//SYSTSIN DD *
DSN SYSTEM(DB2E)
RUN PROGRAM(GRXGR0) PLAN(GRXGR0)
/*

and

//SYSTSIN DD *
DSN SYSTEM(DB2E)
RUN PROGRAM(GRXGR12) PLAN(GRXGR0)
/*

and execute GRXGR0 and GRXGR12 from the same plan ???


and if we are calling a DB2 program from a non db2 program should we have a plan for the calling program.... Say A is non db2 calling B which is DB2 should we have plan for A ??


Thanks and Regards,
Syam
Back to top
View user's profile Send private message
saiprasadh

Active User


Joined: 20 Sep 2006
Posts: 154
Location: US

PostPosted: Thu Mar 29, 2007 10:46 am
Reply with quote

Hi

i) You can have same plan for two programs if the corresponing packages of the program are available under that plan.

ii) Separate Plan is not required for the calling program(i,e) Non-DB2 program.



Sai
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts Recompiling programs after a copybook... COBOL Programming 1
No new posts Can you give me examples of programs ... CLIST & REXX 22
Search our Forums:

Back to Top