IBM Support

PM99013: Rational Developer for System z (RDz) - Content Assist option missing when PLI structures are based on a ptr

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rational Developer for System z - RDz - v8.5.1
    RDz's Contents assist functionality fails when dispalying
    structures
    declared as LIKE
    
    For instance, in the following program, when I create a new line
    and type aw, then hit the ctrl+space I am given only 2 options.
    But, if the structure is not defined with a ptr
    then I am given the options of the like structure.
    
    P77397: PROC() OPTIONS(MAIN);
    
    dcl z1 char(10);
    dcl 1 wt,
           5 a1 char(10),
           5 a2 char(3),
           5 a3 char(5);
    dcl z2 char(16) varying;
    dcl awptr ptr;
    dcl bwptr ptr;
    dcl aw like wt based(awptr);
    dcl bw like wt based(bwptr);
    dcl mw like wt;
    dcl c like wt;
    
       z1 = ' HI';
       DISPLAY( z1 ) ;
       wt.a1 = z1;
    
    END P77397;
    
    
    There is no syntax error for aw.a1 = z1,
    but aw.x is not given as a choice for content assist.
    Also, the structure is not displayed when you hover over the
    variable.
    
    ***************************************************************
    Local fix:
    

Local fix

Problem summary

  • Incorrect checking when the structure is based on a pointer was
    causing the content assist options to not show up.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM99013

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-14

  • Closed date

    2014-06-27

  • Last modified date

    2014-06-27

  • 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

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

Document Information

Modified date:
01 November 2021