IBM Support

PI22028: RATIONAL DEVELOPER FOR SYSTEM Z GIVES FALSE "AMBIGOUS REFERENCE"WARNING IN PLI EDITOR FOR LABELS WITH SAME NAME AS VARIABLES

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Rational Developer for System z - RDz - v9.1 fails to
    distinguish
    label references from data references and gives false warning
    message
    "ambigous reference".
    
    Open the below program in PLI Editor
    
    ======================
    hello1: proc() options(main);
    
    Dcl 1 top,
        5 var1 char(16) varying;
    
    var1:
        Display('after var1');
    
    end hello1;
    ======================
    
    Error is displayed on line "var1:" because var1 is already used
    in the previous declaration
    "5 var1 char(16)'".
    

Local fix

  • Warning can be ignored
    

Problem summary

  • See error description.
    

Problem conclusion

  • Modified RDz's PL/I reference resolution code to distinguish
    label references from variable references with the same name.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V9.1.1.0 Refresh 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

    PI22028

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-15

  • Closed date

    2014-12-11

  • Last modified date

    2014-12-11

  • 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

  • R911 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 9.1

Reference #: PI22028

Modified date: 11 December 2014