PM69113: In Rational Developer for System Z v126.96.36.199, COBOL program flow DIAGRAM MAY BE INCOMPLETE.
A fix is available
Closed as program error.
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.
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.
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 V188.8.131.52 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
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