Fixes are available
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
Rational Developer for System z - RDz COBOL code that has a SQL execs done in an If-then-else and the SQLCODE is checked after the if-then-else segment then it may be flagged as a coding error based on the software anaylzer rule: EXEC SQL: Check the value of SQLCODE after an EXEC SQL statement This rule is in the COBOL Code Review > Program Structures. For example, the following code will cause a both SQL Exec lines to be flagged: IF EMPNO OF INPUT-PARMS = " " THEN EXEC SQL SELECT EMPNO, FIRSTNME, LASTNAME FROM DSN8910.EMP WHERE SEX = 'F' END-EXEC ELSE EXEC SQL SELECT EMPNO, FIRSTNME, LASTNAME FROM DSN8910.EMP WHERE SEX = 'M' END-EXEC End-IF EVALUATE SQLCODE WHEN 0 DISPLAY "SQLCODE = 0" WHEN 100 DISPLAY "SQLCODE = 100" WHEN OTHER DISPLAY "SQLCODE = Other" END-EVALUATE
Local fix
Problem summary
Attempts to run Software Analyzer to check SQLCode rule may give incorrect results.
Problem conclusion
Modified rule code to ensure correct results. The problem listed in this APAR has been resolved with IBM Rational Developer for System z V9.1.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
PI60916
Reported component name
RATL DEV FOR SY
Reported component ID
5724T0700
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-04-15
Closed date
2016-09-30
Last modified date
2016-09-30
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
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSTRMM","label":"IBM Developer for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
17 October 2021