Unanswered: 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.
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.