If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > COBOL DB2 Stored procedures

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-11-04, 13:19
sameer_ahamed sameer_ahamed is offline
Registered User
 
Join Date: Jan 2004
Posts: 1
COBOL DB2 Stored procedures

Hi,

I am quiet new to COBOL DB2 stored procedures and had a couple of questions on how it works...

1. In a COBOL DB2 stored proc do we have to minimize the number of sql's within the program ? I'm asking this 'coz i've seen a couple of stored procs with huge sql's ( with more than 700 lines etc..).. will it affect the performance if we have a number of sql queries like in any other DB2 cobol pgm...

2. When we compile the cobol db2 sp.. where does the load module reside ?

3. what is the purpose of a global temp table ?? is this advisable ? what are the other methods of returning the result set.

Would be great if anyone could answer these queries...

Thanks & Have a Nice day,
Sameer
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On