IBM Support

PM91242: Passing a substring of an arrayed item to a function produces a compiler error

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Passing a substring of an arrayed item to a function produces a
    compiler error
    

Local fix

Problem summary

  • The problem occurs when trying to pass a substring of a
    variable, that happens to also be an arrayed item, to a system
    function. The array index is erroneously placed against the
    temporary variable that is created  to hold the value, instead
    of the original variable. This causes a compiler error as COBOL
    is expecting the array index against the arrayed variable.
    

Problem conclusion

  • The software has been updated to check for this situation, which
     will then place the array index variable against the original
    variable being passed, instead of the temporary variable.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM91242

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-17

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

  • 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

  • R850 PSY

       UP

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

Document Information

Modified date:
28 October 2013