PI39800: RATIONAL DEVELOPER FOR SYSTEM Z (RDZ) : COBOL PARSER PROVOKES AN INDEXOUTOFBOUNDSEXCEPTION ERROR
Fixes are available
Rational Developer for System z Fix Pack 1 (126.96.36.199) for 9.1.1.
Rational Developer for System z Fix Pack 1 (188.8.131.52) for 9.1.1.
Rational Developer for System z Interim Fix 1 for 184.108.40.206
Rational Developer for System z Fix Pack 1 (220.127.116.11) for 9.1.1.
Rational Developer for System z Fix Pack 1 (18.104.22.168) for 9.1.1.
Rational Developer for System z Fix Pack 1 (22.214.171.124) for 9.1.1.
Rational Developer for System z Fix Pack 1 (126.96.36.199) for 9.1.1.
Rational Developer for System z Fix Pack 1 (188.8.131.52) for 9.1.1
Closed as program error.
Rational Developer for System z - RDz - v9.1.1 Description : This occurs in case of Cobol program with copybooks associated. On RDz 184.108.40.206, there was an error marker on "ROLLBACK", which was used in a main program as a variable as shown below : 088890 CLOTURE. 088900 IF ROLL-A-FAIRE-BIS = 1 088910* MOVE 1 TO ROLL-A-FAIRE 088920 SET ROLLBACK TO TRUE 088930 END-IF The ROLLBACK variable is defined in the copybooks : * LE ROLLBACK 00300001 * 0 PAS DE ROLLBACK A FAIRE 00310001 * 1 ROLLBACK A FAIRE 00320001 15 PRJ024-SIGNA-ROLLBACK PIC X. 00330001 88 PRJ024-ROOLBACK-A-FAIRE VALUE '1'. 00340001 This seems to be a bug in the RDz parser, since this file was compiled successfully by the Cobol compiler. But on RDz 9.1.1, there is no more error marker. The parser just silently fails and all syntax functions are disabled. The only way to get more information on this error on RDz 9.1.1 was to go to the preferences, and in the Tracing page enable the FINEST trace on com.ibm.systemz.common.editor. It shows there is an IndexOutOfBoundsException in the parser : java.lang.IndexOutOfBoundsException: Index: 59631, Size: 24105 This issue seems to happen on programs containing a "REPLACE" statement. Steps to have the error message : - In the preferences, put FINEST level in com.ibm.systemz.cobol.editor.core + com.ibm.systemz.cobol.editor.lpex + com.ibm.systemz.common.editor. - Open the program from the z/OS project perspective (tested with both Cobol and LPEX editors) - Await for the copybooks download - Got the red cross over the suitcase icon at the bottom right of the screen and "Tooling failed to initialize dur to syntax error -> when adding syntax check errors, they are not detected.
COBOL parser incorrectly calculated offsets when processing REPLACE statements.
Fixed offset calculation for processing REPLACE statements in COBOL parser.
Reported component name
RATL DEV FOR SY
Reported component ID
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
RATL DEV FOR SY
Fixed component ID
Applicable component levels