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

How many DBRMs , Packages and Plans created after Bind


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

New User


Joined: 06 May 2005
Posts: 20
Location: Bangalore

PostPosted: Sat May 07, 2005 10:43 am
Reply with quote

Hi all,

I have 5 SQL statements in my Cobol-DB2 program.

when I bind it, how many DBRMs , Packages and Plans will be generated?

Please help me out.
:shock:
Back to top
View user's profile Send private message
gnagakishore

New User


Joined: 26 Mar 2005
Posts: 25
Location: Hyderabad

PostPosted: Sat May 07, 2005 10:35 pm
Reply with quote

one plan will come its sure. but regarding to packages and dbrms its system dependent i think.
Back to top
View user's profile Send private message
muraliksnv

New User


Joined: 07 May 2005
Posts: 3

PostPosted: Sun May 08, 2005 3:24 pm
Reply with quote

hi all,

how many exceptional conditions can we give in a handle command?
Back to top
View user's profile Send private message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Mon May 09, 2005 12:34 pm
Reply with quote

Hi praneethgokul

there will be only 1 DBRM..and 1 plan

the DBRM is based on the program not the number of SQL sttements inside a Program...
if this program calls 3 db2-cobol subprograms then the total number of DBRM's are 4 ( 1 mainprogram + 3 subprograms )


Regards
siva
Back to top
View user's profile Send private message
narasimharao_koganti

New User


Joined: 26 Apr 2005
Posts: 11
Location: pune

PostPosted: Tue May 10, 2005 9:51 pm
Reply with quote

hi, one dbrm will be generated for one program. if your is calling n- sub-programs then for every sub-progaram there will be n dbrm. i.e., for a program that is calling n programs there will be n+1 dbrms. for one dbrm there may one package or more, but only one plan will be generated.
Back to top
View user's profile Send private message
narasimharao_koganti

New User


Joined: 26 Apr 2005
Posts: 11
Location: pune

PostPosted: Tue May 10, 2005 10:02 pm
Reply with quote

hi murali,
I think we can specify upto 12 handle conditions, in a handle condition command.
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 JCL for pl1 db2 precompile, compile a... JCL & VSAM 4
No new posts How to read unpacked field created in... DFSORT/ICETOOL 12
No new posts Packages - Versioning DB2 1
No new posts Bind process DB2 4
No new posts REXX identify the last/latest created... CLIST & REXX 7
Search our Forums:

Back to Top