PI71806: IDZ 14 RDZ COBOL EDITOR "TOGGLE COMMENT" INCORRECTLY CHANGES LINE NUMBER OFFSETS [C]
Fixes are available
Rational Developer for System z Fix Pack 3 (188.8.131.52) for 9.5.1.
Rational Developer for System z Fix Pack 4 (184.108.40.206) for 9.5.1.
Rational Developer for System z Fix Pack 5 (220.127.116.11) for 9.5.1.
Rational Developer for System z Fix Pack 5 (18.104.22.168) for 9.5.1.
Rational Developer for z Systems Fix Pack 7 (22.214.171.124) for 9.5.1.
Rational Developer for z Systems Fix Pack 8 (126.96.36.199) for 9.5.1.
Rational Developer for z Systems Fix Pack 9 (188.8.131.52) for 9.5.1.
Closed as program error.
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.
COBOL Editor's "Toggle Comment" incorrectly marks comments when blank lines are part of selection, due to miscalculation of offsets.
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 V184.108.40.206 Fix Pack which is available from the Recommended Fixes support download page: http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
Reported component name
DEV FOR Z SYS
Reported component ID
NoSpecatt / Xsystem
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
DEV FOR Z SYS
Fixed component ID
Applicable component levels