IBM Support

PI10720: Possible compiler errors when using date/time sql exits

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: z/OS
    Product name: IBM? Rational? Business Developer
    
    Program Version    :  9.0.1
    Description.
    Problem Details
    Possible compiler errors when using date/time sql exits.
    
    This concerns compilation errors observed via COBOL generation
    eg:
    4394  IGYPS2079-S   Expected a verb or 'NEXT SENTENCE', but
    found 'END-IF'.
    The statement was discarded.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A compiler error could occur because an ELSE statement is
    immediately followed by and END-IF statement. Cobol requires
    at least a CONTINUE statement in between. This problem
    occurred because the EGL SQL date/time exit logic attached
    the generator order item variable to a higher generator
    order and hence all generator orders below this one had
    access to the variable. This caused the extra ELSE to be
    placed in the code, but since there was no executable
    statements, the END-IF got added and created the compiler
    error.
    

Problem conclusion

  • The software logic has not changed, but it causes a CONTINUE
    statement to always be inserted before the END-IF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI10720

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    901

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-30

  • Closed date

    2015-03-23

  • Last modified date

    2015-03-23

  • 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 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":"9.0.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
15 October 2021