IBM Support

PI22580: COBOLGEN CAN GENERATE VARIABLE AND FUNCTION NAMES THAT ARE LONGER THAN 30 CHARACTERS CAUSING COMPILE ERRORS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • It is possible for CobolGen to generate some variable and
    function names that are longer than 30 characters in length
    causing a COBOL compiler error like:
    IGYDS0023-E: The COBOL word starting in column 12 contained more
    than 30 characters.
    The word was truncated to 30 characters.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Any users that get compiler errors for cobol names exceeding *
    * 30 characters                                                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If a function parameter is also a nullable and the field     *
    * unique number size >= 3 digits, it is possible to generate a *
    * cobol variable name > 30 characters causing a compiler error *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The limit for the variable name was 17 characters for the EGL
    part. This has been reduced to 15 characters to allow for the
    possible 7 extra characters placed at the beginning, plus 6 for
    a 5-digit number and hyphen and 2 for the nullable indicator
    variable, totaling 30.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI22580

  • 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-07-23

  • 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

  • R801 PSY

       UP

  • R851 PSY

       UP

  • R901 PSY

       UP

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

Document Information

Modified date:
15 October 2021