IBM Support

PH46774: IMS SPUFI JBP COMMITS IN THE MIDDLE OF MULTIPLE SQL STATEMENTS IF ANY STATEMENT FAILS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When issuing multiple SQL statements using IMS SPUFI JBP and any
    statement fails, SQL processing stops and successful processes
    are committed. All of the SQL processes should be rolled back
    when any statement fails in multiple SQL statements.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of IBM IMS Administration Tool for     *
    *                 z/OS (FMID=HALC110) who use IMS SPUFI        *
    *                 function in the JBP environment.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: IMS SPUFI JBP issues SYNC(commit) DL/I  *
    *                      call for SQL execution regardless of    *
    *                      success or failure. As the result,      *
    *                      updated results of the succeeded        *
    *                      statements are committed even if a      *
    *                      failure occurs.                         *
    ****************************************************************
    * RECOMMENDATION: Apply the maintenance for this APAR.         *
    ****************************************************************
    IMS SPUFI JBP always issues SYNC(commit) DL/I call before
    termination.
    One IMS SPUFI execution can contain multiple SQL statements.
    SYNC should be issued when all of the statements succeeded.
    However, IMS SPUFI issues SYNC even when SQL statements failed.
    It causes that databases are updated by a part of SQL
    statements.
    

Problem conclusion

  • IMS SPUFI JBP has been modified to issue ROLB DL/I call at
    termination when SQL statement fails. It issues SYNC when all
    of the statements success.
    In addition, when all of SQL statements are SELECT and the
    statements success, it issues ROLB instead of SYNC in order to
    reduce unnecessary commit.
    
    ** Installation Notice **
    If you've already enabled IMS SPUFI JBP, run ATYJCOPY JCL
    provided in SATYSAMP data set to update the Java backend
    module.
    
    If this is the first time to enable IMS SPUFI in JBP, follow
    the procedures in "Setting up Java environment for IMS
    SPUFI JBP" in the user's guide.
    
    ========================
    = DOCUMENTATION CHANGE =
    ========================
    IMS Administration Tool for z/OS Version 1 Release 1 User's
    Guide and Reference (SC27-9011) is updated.
    Refer to topic "What's new in IMS Administration Tool"
    (https://www.ibm.com/docs/en/ims-admintool/1.1?topic=overview
    -whats-new-in-ims-administration-tool) in IBM Documentation
    for doc changes associated with this APAR.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH46774

  • Reported component name

    IMS ADMIN TOOL

  • Reported component ID

    5655CAT00

  • Reported release

    110

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-05-26

  • Closed date

    2022-06-17

  • Last modified date

    2022-09-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI81057

Modules/Macros

  • ATYJLIB
    

Publications Referenced
SC27901115    

Fix information

  • Fixed component name

    IMS ADMIN TOOL

  • Fixed component ID

    5655CAT00

Applicable component levels

  • R110 PSY UI81057

       UP22/06/22 P F206

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCD9F6","label":"IMS Tools"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.1.0"}]

Document Information

Modified date:
08 September 2022