IBM Support

PI36231: FOR UPDATE STATEMENTS NOT CORRECTLY HANDLED IN GENERATED JAVA

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • for update statements are not being correctly handled in the
    generated Java as per the following sample:
    open associazioniVociMenuRs for associazioniVociMenuRec
    forUpdate with
            #sql{
                    select
                            CD_MENU, CD_VOCE_MENU
                    from HP_ASSOCIAZ_VOCI_MENU
                    where CD_MENU = :associazioniVociMenuRec.CD_MENU
                    order by
                            CD_MENU, CD_VOCE_MENU asc
                    for update
            };
    
    In the above scenario the "for update" is ignored in Java
    generation and such clauses are not being handled whereas if the
    above included as a "for update of" clause these are correctly
    generated.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * EGL Java and Debugger user who use explicit with forUpdate   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The for update in #sql statement is ignored in EGL Java and  *
    * Debugger                                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The problem is fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI36231

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    911

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-03-04

  • Closed date

    2016-04-05

  • Last modified date

    2016-04-05

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

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

Fix information

  • Fixed component name

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R901 PSY

       UP

  • R911 PSY

       UP

  • R950 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.1.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
15 October 2021