IBM Support

PI50131: SYSLIB.SIZE() RETURNS INCORRECT VALUE IF ARRAY ELEMENT PART IS ARGUMENT.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In RBD 9.1.1 if the syslib.size has an argument which is part of
    an array element, an incorrect
    result is returned.
    Example:
    
    private Record tempArray type basicRecord
       3 arrayGroup[42];
         6 list;
         9 stuff char(2);
    end
    
    syslib.size(tempArray.list) returns 2 instead of the correct
    value 42.
    

Local fix

  • Use an array element rather than part of an array element.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * CobolGen users that use the syslib.size function against a   *
    * non-array element of a higher level array will get the wrong *
    * value returned.                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The wrong value can be returned by the syslib.size function  *
    * if used against a non-array element that is part of a higher *
    * level array.                                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The software has been updated to produce the correct result.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI50131

  • 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

    2015-10-07

  • Closed date

    2016-04-05

  • Last modified date

    2016-04-05

  • 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 PSY

       UP

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