Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm
No new posts COBOL Programs Generator! Rohit Umarjikar COBOL Programming 1 Thu Jun 09, 2016 2:09 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us