IBM Support

PM90376: Rational Developer for System z (RDz) - PL/I Template with commented out lines does not expand correctly.

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): PL/I Template with
    commented out lines does not expand correctly.
    
    APAR Error Description:
    ***************************************************************
    Rational Developer for System z - RDz - V8.5.1.1
    
    Inserting a template, which starts and ends with a comment line
    like /*---------------------*/, in a PL/I program will be
    expanded incorrectly.
    
    For instance, define the following template:
    
    . open Window?Preferences?PL/I?Templates,
    . define the 'Procedure' template:
    
    /*---------------------*/
    /*                     */
    /* ${subroutineName}   */
    /*                     */
    /*  ${user}, ${date}   */
    /*                     */
    /*---------------------*/
    ${subroutineName}: procedure;
      ${cursor};
    end ${subroutineName};
    
    . create a new PL/I program,
    . on position 2 of a new line, use CTRL+Space and insert the
    template 'Procedure'
    
    As a result, '${cursor};' is wrongly transformed into 'c':
    
    /*-------------------*/
    /*                   */
    /* subroutineName    */
    /*                   */
    /*  ?username?, May 28, 2013 */
    /*                   */
    /*-------------------*/
    subroutineName: procedure;
       c
    end subroutineName;
    
    ***************************************************************
    Local fix:
    Do not surround comment blocks with lines like '/*-------*/'.
    

Local fix

Problem summary

  • A routine which converted the template text from its line
    delimiter style to match the style of the target editor was
    incorrectly updating the positions of template variables when
    switching between 1 and 2 character length line delimiter
    styles.  This routine is needed because LPEX does not track line
    delimters, but the routine is shared with the PL/I Editor and
    was causing the error above.
    

Problem conclusion

  • This routine was corrected to correctly set the variable
    locations when converting between different line delimiter
    styles.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V8.5.1.4 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

    PM90376

  • 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-06-04

  • Closed date

    2013-10-16

  • Last modified date

    2013-10-16

  • 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 #: PM90376

Modified date: 16 October 2013