IBM Support

PM54747: Incorrect real-time check warning for PL/I variables declared using 'like' instruction

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • APAR Error Description:
    Abstract: Coding a PL/I program in Rational Developer for System
    z (RDz) version 8.0.3 using variables declared with 'like'
    instruction results in an incorrect warning 'Unable to resolve
    reference'
    Problem: The following example will show the incorrect warning
    'Unable to resolve reference' during real-time check:
    
    helloapp: proc() options(main);
    
     dcl
        1 A(10) ,
          2 B    char(16),
          2 C    char(16),
        1 X like A;
    
        A.B = 'Hello ';
        X.B = 'World';        ?--- warning
        Display( X.B );       ?--- warning
    
     end helloapp;
    
    
    Local fix:
    Warning can be ignored
    

Local fix

Problem summary

  • USERS AFFECTED:
    RD/z users who use RD/z to edit PL/I programs with variables
    declared with the like attribute.
    ****************************************************************
    *
    PROBLEM DESCRIPTION:
    RD/z reported the use of variables declared with the like
    attribute with warning annotations, even though the syntax was
    correct, when the program was edited.
    

Problem conclusion

  • RD/z correctly handles variables declared with the like
    attribute in PL/I programs when they are edited.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.0.3.2 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

    PM54747

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    803

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-12-20

  • Closed date

    2012-03-29

  • Last modified date

    2012-03-29

  • 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

  • R803 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 8.0.3

Reference #: PM54747

Modified date: 29 March 2012