IBM Support

PH36431: IDZ 15.0.1 PL/I EDITOR ERRONEOUSLY DISPLAYS "AMBIGUOUS REFERENCE"

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Opening a PL/I source code with the PL/I editor in IBM Developer
    for z (IDZ) 15.0.1 there are incorrect "Ambiguous Reference"
    messages marked in the file.  The messages originate from a
    multi-level structure that contains the same name on different
    levels.  The referenced element is not ambiguous in this case.
    
    For example:
    
    SOME: PROC ;
    DCL
      1 S1,
        3 S1,
          5 C1 CHAR(1) INIT('A');
    PUT SKIP LIST(S1.C1);
    END SOME;
    
    This example code compiles with no errors or warnings so the
    expectation is that the PL/I editor would not mark any errors.
    

Local fix

Problem summary

  • In PL/I editor 15.0.1 there is an incorrect "Ambiguous
    Reference" message marked in the file when there is a
    multi-level structure that contains the same name on different
    levels. A reference to an element of a multi-level structure is
    viewed as unambiguous if it is not a partially or fully
    qualified reference to any other variable in the block where the
     element is declared.
    
    For example:
    
    SOME: PROC ;
    DCL
      1 S1,
        3 S1,
          5 C1 CHAR(1) INIT('A');
    PUT SKIP LIST(S1.C1);
    END SOME;
    
    There are only 1 path for S1.C1: S1-> C1, S1 -> S1 -> C1. The
    first path is a subset of the second one, and therefore, there
    is no ambiguous reference.
    

Problem conclusion

  • This issue has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH36431

  • Reported component name

    DEV FOR Z/OS

  • Reported component ID

    5724T0700

  • Reported release

    F00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-04-19

  • Closed date

    2021-10-29

  • Last modified date

    2021-10-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

    DEV FOR Z/OS

  • Fixed component ID

    5724T0700

Applicable component levels

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

Document Information

Modified date:
30 October 2021