Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Can we have the same plan for two DB2 programs ????

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Can we have the same plan for two DB2 programs ????
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts pointers on using USS and C programs. Pedro All Other Mainframe Topics 0 Wed Oct 04, 2017 4:38 am
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us