IBM Support

PI74153: INCORRECT COBOL GENERATED FOR SQL CONTAINING SEMICOLON INSIDE QUOTES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In RBD 9.x, if the EGL source has a SQL  statement containing
    the semicolon (:) character
    in a quoted substring, the generated Cobol program may be
    syntactically invalid and the
    DB2 preprocessing may fail
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users that use a SQL statement containing text that has      *
    * double quotes (") surrounding a colon                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If double quotes (") surround SQL text in a SQL statement    *
    * and that text contains a colon, then the cobol writer        *
    * thought that the colon was to delineate a variable and       *
    * caused the line to be split, for readability. The logic was  *
    * looking for single quotes to prevent this, but didn't check  *
    * for double quotes.                                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The logic has been changed to check for both single double
    quotes.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI74153

  • 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

    2016-12-22

  • Closed date

    2019-01-18

  • Last modified date

    2019-01-18

  • 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

  • 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:
19 October 2021