IBM Support

PM78177: Wrong Outline view tree when you use procedures without the procedure name on the end statement

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Headline/Abstract:
    ***************************************************************
    Rational Developer for System z (RDz): Outline view shows
    wrong level for PL/I procedures defined without END label.
    
    APAR Error Description:
    ***************************************************************
    Rational Developer for System z - RDz - V8.5.0.1
    
    In a PL/I program, when defining procedures without 'END'
    labels, the Outline view shows the procedure at a wrong level.
    
    Re-creation steps:
    
    For instance, use the following code:
    
     testcas11: proc(pzparam) options(fetchable);
       dcl pzparam       ptr;
       dcl pcmethode     char(80);
       /* correct */
       call correct1();
       call correct2();
       /* wrong */
       call wrong1();
       call wrong2();
       call wrong3();
       correct1: procedure;
         /* blaa */
       end correct1;
       correct2: procedure;
         /* blaa */
       end correct2;
       wrong1: procedure;
         /* blaa */
       end;                                              /* ?== No
    procedure name */
       wrong2: procedure;
         /* blaa */
       end;                                              /* ?== No
    procedure name */
       wrong3: procedure;
         /* blaa */
       end;                                              /* ?== No
    procedure name */
     end testcas11;
    
    All procedures are defined on the same level (level 1), but the
    Outline
    View shows the following hierarchy:
    
    testcas11
    +-correct1      -? level 1
    +-correct2      -? level 1
    +-wrong1        -? level 1
      +-wrong2      -? level 2     ?== wrong
        +-wrong3    -? level 3     ?== wrong
    
    ***************************************************************
    Local fix:
    None
    

Local fix

Problem summary

  • In a PL/I program, when defining procedures without the
    procedure name on the end statement, the Outline view shows the
    subsequent procedures at a wrong level.
    

Problem conclusion

  • The PL/I Outline View has been fixed to handle procedures
    without the procedure name on the end statement.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.5.1.1 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

    PM78177

  • 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

    2012-11-30

  • Closed date

    2013-03-21

  • Last modified date

    2013-03-21

  • 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

  • R850 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 8.5

Reference #: PM78177

Modified date: 21 March 2013