Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2004
    Posts
    3

    Unanswered: Cobol Stored Procedures commit question

    Hi,

    We are planning to use a COBOL Stored procedure called from an J2EE application to perform updates into DB2 Db in mainframe. DB2 Stored procedures which run under the WLM, are they part of the J2EE container Transaction or not? My concern is that when the stored procedure complets and returns back to the Java code, are the updates committed at that point?

    Thanks,

    -Sreeni

  2. #2
    Join Date
    Jan 2009
    Location
    Zoetermeer, Holland
    Posts
    746
    Yes. The transaction-logic is controlled by the java-client (in your case the J2EE container). This is normal behaviour and can be overrulled if you wish.
    Look at this (slide 14) http://www.mdug.org/f13.ppt
    Last edited by dr_te_z; 08-16-09 at 10:49.

  3. #3
    Join Date
    Dec 2004
    Posts
    3
    Thanks a lot.

    -SR

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •