IBM Support

PM77950: Rational Developer for System z (RDz): Nested include files cause an error message when using the rename refactoring in PL/I

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): Nested include files
    cause an error message when using the rename refactoring in PL/I
    
    APAR Error Description:
    ***************************************************************
    Rational Developer for System z - RDz - V8.5.0.1
    
    
    When trying to rename a program using a right-click within the
    code, if the program contains one, or several, nested include
    statement then the rename works, but RDz shows an error message
    box 'Problem occurred - Downloading include files for...',
    meanwhile you are asked to enter the new name.
    Note that the rename action ends up correctly.
    
    Re-creation steps:
    
    For instance, use the following code:
    
     INCLU1.inc file contains:
    
       DCL 1 FIELDS,
      3 FIELD1 CHAR (1),
      3 FIELD2 CHAR (2);
     %INCLUDE INCLU2;
    
     INCLU2.inc contains:
    
        Dcl theAnswerA char(16) varying;
    
    helloApp.pli file contains:
    
     helloapp: proc() options(main);
     Dcl theAnswer char(16) varying;
     %INCLUDE INCLU1;
     Do Forever;
       Display('Enter a name or Q to quit')
         Reply( theAnswer );
       if theAnswer = 'q' | theAnswer = 'Q'
         then Leave;
         else Display('Hello '|| theAnswer );
     end; /* Do Forever */
     end helloapp;
    
     Highlight helloapp, right-click and choose 'Rename'. An error
     window will pop-up, but also an edit window asking for the
     new name.
    
    ***************************************************************
    Local fix:
    None
    

Local fix

Problem summary

  • Headline/Abstract:
    ***************************************************************
    Rational Developer for System z (RDz): Nested include files
    cause an error message when using the rename refactoring in PL/I
    
    APAR Error Description:
    ***************************************************************
    Rational Developer for System z - RDz - V8.5.0.1
    
    
    When trying to rename a program using a right-click within the
    code, if the program contains one, or several, nested include
    statement then the rename works, but RDz shows an error message
    box 'Problem occurred - Downloading include files for...',
    meanwhile you are asked to enter the new name.
    Note that the rename action ends up correctly.
    
    Re-creation steps:
    
    For instance, use the following code:
    
     INCLU1.inc file contains:
    
       DCL  1 FIELDS,
             3 FIELD1 CHAR (1),
             3 FIELD2 CHAR (2);
     %INCLUDE INCLU2;
    
     INCLU2.inc contains:
    
        Dcl theAnswerA char(16) varying;
    
    helloApp.pli file contains:
    
     helloapp: proc() options(main);
     Dcl theAnswer char(16) varying;
     %INCLUDE INCLU1;
     Do Forever;
       Display('Enter a name or Q to quit')
         Reply( theAnswer );
       if theAnswer = 'q' | theAnswer = 'Q'
         then Leave;
         else Display('Hello '|| theAnswer );
     end; /* Do Forever */
     end helloapp;
    
     Highlight helloapp, right-click and choose 'Rename'. An error
     window will pop-up, but also an edit window asking for the
     new name.
    
    ***************************************************************
    Local fix:
    None
    

Problem conclusion

  • ****************************************************************
    
    USERS AFFECTED:
    RDz users who use the rename refactoring when editing PL/I
    programs that have nested include files.
    ****************************************************************
    
    PROBLEM DESCRIPTION:
    RDz displayed errors when using the rename refactoring when
    editing PL/I programs with nested include files, even though the
    rename succeeded.
    
    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

    PM77950

  • Reported component name

    RD/Z HOST

  • Reported component ID

    5724T0723

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-28

  • 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

    RD/Z HOST

  • Fixed component ID

    5724T0723

Applicable component levels

  • R850 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 8.5

Reference #: PM77950

Modified date: 21 March 2013