A fix is available
APAR status
Closed as program error.
Error description
APAR Error Description: Abstract: In Rational Developer for System Z (RDz) version 8.5, attempt to show a COBOL program flow results in an incomplete diagram. 1) In RDz 8.5, open in the LPEX editor a COBOL program containing section names in lowercase letters like for example Test1 below: Procedure Division. MainLine SECTION. Perform Test1. Goback. Test1 Section. Continue. END PROGRAM HELLO. The Program flow will only display boxes HELLO and MainLine. Local fix: The section names need to be uppercase letters like: MainLine SECTION. Perform TEST1. Goback. TEST1 Section. Continue. In System z LPEX: 1) Ctrl-A (to select all) 2) Alt-Shift-K (to uppercase selection) 3) Show In -? Program Control Flow to see diagram 4) (back in editor) Ctrl-Z (to undo uppercase action) In COBOL Editor: 1) Ctrl-A (to select all) 2) Ctrl-Shift-F (shortcut to Source ? Format, default formatting does uppercase as well as other formatting) 3) Show In -? Program Control Flow to see diagram 4) (back in editor) Ctrl-Z (to undo source format action) Second problem: java.lang.StringIndexOutOfBoundsException is seen when closing then reopening RD/z's workbench while connected to DB2.
Local fix
Problem summary
When COBOL sections are declared using mixed-case or lower-case names, control flow analysis cannot find references to those sections, so the Program Control Flow diagram and the Identify Unreachable Code action show incorrect results.
Problem conclusion
Section names were added to the control flow analysis using the name as typed. The fix is to add section names using the mapped uppercase symbol name so that they can be found during control flow analysis. The problem listed in this APAR has been resolved with IBM Rational Developer for System z V8.5.0.1 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
PM69113
Reported component name
RATL DEV FOR SY
Reported component ID
5724T0700
Reported release
803
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-07-18
Closed date
2012-09-10
Last modified date
2012-09-28
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
R850 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":"803","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
29 October 2021