Fixes are available
Rational Developer for System z Fix Pack 1 (9.1.1.2) for 9.1.1.
Rational Developer for System z Fix Pack 1 (9.1.1.3) for 9.1.1.
Rational Developer for System z Interim Fix 1 for 9.1.1.3
Rational Developer for System z Fix Pack 1 (9.1.1.4) for 9.1.1.
Rational Developer for System z Fix Pack 1 (9.1.1.5) for 9.1.1.
Rational Developer for System z Fix Pack 1 (9.1.1.6) for 9.1.1.
Rational Developer for System z Fix Pack 1 (9.1.1.7) for 9.1.1.
Rational Developer for System z Fix Pack 1 (9.1.1.8) for 9.1.1
Rational Developer for System z Fix Pack 9 (9.1.1.9) for 9.1.1
APAR status
Closed as program error.
Error description
In RDz v9.1.x PL/I parser treats DO-END blocks like a new scope for variable, therefore the SQLCA declaration inside the DO block is treated as if the variables are only valid there. EXEC SQL INCLUDE SQLCA becomes the following in the punch file /*$*$*$ EXEC SQL INCLUDE SQLCA $*$*$*/ DO; DCL 1 SQLCA , 2 SQLCAID CHAR(8), 2 SQLCABC FIXED BIN(31), 2 SQLCODE FIXED BIN(31), 2 SQLERRM CHAR(70) VAR, 2 SQLERRP CHAR(8), 2 SQLERRD(6) FIXED BIN(31), 2 SQLWARN, 3 SQLWARN0 CHAR(1), 3 SQLWARN1 CHAR(1), 3 SQLWARN2 CHAR(1), 3 SQLWARN3 CHAR(1), 3 SQLWARN4 CHAR(1), 3 SQLWARN5 CHAR(1), 3 SQLWARN6 CHAR(1), 3 SQLWARN7 CHAR(1), 2 SQLEXT, 3 SQLWARN8 CHAR(1), 3 SQLWARN9 CHAR(1), 3 SQLWARNA CHAR(1), 3 SQLSTATE CHAR(5); END;
Local fix
NA
Problem summary
The PL/I parser incorrectly treats DO-groups as a new variable scope.
Problem conclusion
Modified the PL/I parser to correctly handle variable scope in DO-groups. The problem listed in this APAR has been resolved with IBM Rational Developer for System z V9.1.1.2 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
PI37425
Reported component name
RATL DEV FOR SY
Reported component ID
5724T0700
Reported release
911
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2015-03-19
Closed date
2015-10-16
Last modified date
2015-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
R911 PSY
UP
Document Information
Modified date:
16 October 2021