IBM Support

PI86399: UNKNOWN RESULTS CAN OCCUR WHEN ADDING A NEW RECORD OBJECT TO A DYNAMIC ARRAY THAT ALSO CALLS AN EXTERNAL PROGRAM

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Unknown results can occur when adding a new record object to a
    dynamic array that also calls an external program
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * For cobolGen users, unusual results can occur, even an       *
    * abend, if trying to use a "new" on a record that has a set   *
    * values block that calls a library function.                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If a "new" is done against a record and a set values         *
    * expression is present that calls a library function, then it *
    * is possible that problems can occur. This will only happen   *
    * if the library callout also causes a garbage collection to   *
    * occur. The problem is that the address of the new temporary  *
    * record is saved across the library call, but the address was *
    * never registered to the heap memory manager. When a garbage  *
    * collection occurs, it updates known pointers to the new      *
    * location of the moved memory. In this case however, the      *
    * address used was not from a pointer, but from an old linkage *
    * section reference. This caused the reference to be invalid   *
    * and hence the problem.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The software was updated to restored the linkage section
    reference from a heap managed variable, which causes the
    reference to be valid.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI86399

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-25

  • 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

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

Document Information

Modified date:
18 October 2021