View previous topic :: View next topic
|
Author |
Message |
praneethgokul
New User
Joined: 06 May 2005 Posts: 20 Location: Bangalore
|
|
|
|
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 |
|
|
gnagakishore
New User
Joined: 26 Mar 2005 Posts: 25 Location: Hyderabad
|
|
|
|
one plan will come its sure. but regarding to packages and dbrms its system dependent i think. |
|
Back to top |
|
|
muraliksnv
New User
Joined: 07 May 2005 Posts: 3
|
|
|
|
hi all,
how many exceptional conditions can we give in a handle command? |
|
Back to top |
|
|
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
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 |
|
|
narasimharao_koganti
New User
Joined: 26 Apr 2005 Posts: 11 Location: pune
|
|
|
|
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 |
|
|
narasimharao_koganti
New User
Joined: 26 Apr 2005 Posts: 11 Location: pune
|
|
|
|
hi murali,
I think we can specify upto 12 handle conditions, in a handle condition command. |
|
Back to top |
|
|
|