IBM Support

PM53909: Inconsistent short-circuit evaluation of the and-operator of Operator with COBOL generation

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Inconsistent short-circuit evaluation of the and-operator of
    Operator with COBOL generation when generating COBOL to iSeries
    .
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The code generated for COBOL for a return statement
    containing a Boolean expression with function invocations is
    incorrect. The code does not correctly "short circuit" if
    the first half of the OR evaluates to true, or if the first
    half of the AND evaluates to false.
    

Problem conclusion

  • The code has been changed to expand the Boolean expression
    into a series of IF statements that will properly "short
    circuit"
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM53909

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-12-08

  • Closed date

    2012-03-15

  • Last modified date

    2012-03-15

  • 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

  • R751 PSN

       UP

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

Document Information

Modified date:
28 October 2021