IBM Support

PI71806: IDZ 14 RDZ COBOL EDITOR "TOGGLE COMMENT" INCORRECTLY CHANGES LINE NUMBER OFFSETS [C]

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • IBM Developer for z 14 the Rational Developer for z Systems
    COBOL editor "Toggle Comment" incorrectly changes line number
    offsets.
    
    When adding comments for non-blank lines. the toggle comment
    function is replacing one column 7 character with another column
    7 character. When adding comments for blank lines, the toggle
    comment is adding 7 characters (6 blanks and 1 '*') and not
    accounting for these.
    
    To reproduce
    - Open a source containing blank lines in the COBOL editor
    - Right click in the gutter and check "Show Line Numbers"
    - Select a block of lines containing about 20 blank lines
      (Note the start and ending line number)
    - Invoke Source > Toggle Comment twice.
    - Observe that the selected block now has less lines, the end
    line number has decreased.
    

Local fix

Problem summary

  • COBOL Editor's "Toggle Comment" incorrectly marks comments when
    blank lines are part of selection, due to miscalculation of
    offsets.
    

Problem conclusion

  • Modified the "Toggle Comment" function to correctly calculate
    offsets in the case of a blank line being encountered.
    
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for z Systems V9.5.1.3 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

    PI71806

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    E00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-04

  • Closed date

    2016-11-21

  • Last modified date

    2016-11-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

    DEV FOR Z SYS

  • Fixed component ID

    5724T0700

Applicable component levels

  • R951 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: E00

Reference #: PI71806

Modified date: 21 November 2016