IBM Support

PI30261: LOCAL RECORD VARIABLES DEFINED IN A FUNCTION DO NOT ALWAYS GENERATE CORRECT CODE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Local record variables defined in a function do not generate
    correct code if there is an initializer on any of the record
    variables and the local record is defined within an IF or CASE
    or WHILE block
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users that have records with variables that have initializer *
    * statements and those records are being used as local         *
    * function variables that have been defined within logic       *
    * statements, suchas a IF/CASE/WHEN.                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A compiler error can occur on the initialization of the      *
    * record variables, if the record variable is defined within a *
    * logic block. A workaround is to define the record at the     *
    * start of the function instead.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The problem is fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI30261

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-11-24

  • Closed date

    2014-12-15

  • Last modified date

    2014-12-15

  • 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

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

Document Information

Modified date:
17 October 2021