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 > Pros/Cons of using DB2 Stored Procedures

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-25-10, 20:18
fordb2 fordb2 is offline
Registered User
 
Join Date: Feb 2010
Posts: 2
Pros/Cons of using DB2 Stored Procedures

Hi, To give you a background, we have some mainframe programmers and some java developers on their own AIX box. Traditionally, the java programmers would call CICS programs on z/OS and the CICS programs would return data or do the update/delete. Then we were introduced to DB2 Stored procedures. All of a sudden, people started using only Stored procedures to talk to DB2 directly because the argument is that by bypassing CICS, they save on resources. CICS is a transaction server. If DB2 could do as good a job as CICS, then do we need CICS at all?

I tried googling and searching this forum without much luck. I would like to know if going the pure Stored Procedure route would cost us in the long run. What are the disadvantages of going the SP route and avoding CICS? I would really appreciate any feedback. Thanks.
Reply With Quote
  #2 (permalink)  
Old 02-27-10, 09:00
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
CICS can do more (VSAM access, call other modules, talk to other CICS-es etc etc). If, in your case, CICS is only used to access DB2 then bypassing CICS is an option. Mind your transaction logic though.
Reply With Quote
  #3 (permalink)  
Old 02-27-10, 10:03
fordb2 fordb2 is offline
Registered User
 
Join Date: Feb 2010
Posts: 2
Thank you!!!
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