IBM Support

PI30988: RDZ 9.0.1: PL/I RULE "USE INITIAL WITH STATIC DATA DECLARATION" APPLIED INCORRECTLY TO LEVEL 1 STRUCTURE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In RDz v9.0.1 the rule "Use INITIAL with STATIC data
    declaration" flags a level 1 declaration even if
    all sublevels are initialized.
    
    For example, in code snippet:
    
    DCL 1 TESTR2  STATIC,
         3 TESTR    CHAR(5)  INIT('ABCDE'),
         3 FILLER_02 CHAR(5) INIT('ABCDE');
    
    TESTR2 is flagged.
    

Local fix

Problem summary

  • The PL/I rule "Use INITIAL with STATIC data declarations"
    ignores levels and will incorrectly mark a static data
    declaration when all of its sublevels are initialized.
    

Problem conclusion

  • Modified the PL/I rule "Use INITIAL with STATIC data
    declarations" to not mark a static data declaration that has all
    of its sublevels initialized.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V9.0.1.4 Fix Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI30988

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    901

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-04

  • Closed date

    2015-06-04

  • Last modified date

    2015-06-04

  • 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 DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R901 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"901","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
16 October 2021