APAR status
Closed as program error.
Error description
**Problem 1 (which was introduced in v7612.)** Unnecessary braces are appended into Generated code. Please refer attached image. [Case 1] Below codes in Action of flowchart will be code generated as is. int a = 1; int b = 2; [Case 2] If below code in Action of flowchart ends with '}' int a = 1; if(a == 1){ int b=2; } Then a couple of brace are appended in Generated code. { int a = 1; if(a == 1){ int b=2; } } [Case 3] If we add a ';' after '}' in case 2 int a = 1; if(a == 1){ int b=2; }; Code are generated as is again. (no unnecessary braces are appended in Generated code.) **Problem 2 (which was introduced in v81.)** Blank line in Action of flowchart are deleted after code generation as below. [code in action of flowchart] int a = 1; int b = 1; [code after CG] int a = 1; int b = 1;
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Rhapsody 8.1.2 * **************************************************************** * PROBLEM DESCRIPTION: * * Three issues were reported for Rhapsody flow charts: * * 1) Adding extra block brackets around code in actions in * * generated code. * * 2) Removing empty lines in actions' generated code. * * 3) Indentation issue in "if...else" declarations in the * * "else" clause. * * * * From these 3 issues, only issue 3 was found to be * * regression. The regression was caused due additional tab * * character added to the body of "else" clause. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Fixed in 8.1.4 1) Rhapsody does not add extra block brackets around actions' generated code. 2) Rhapsody does not remove empty lines in action generated code. 3) Rhapsody sets correct indentation for the "else" clause. The additional indentation was removed.
Temporary fix
Comments
APAR Information
APAR number
PI42695
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
812
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-06-09
Closed date
2015-12-16
Last modified date
2015-12-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
TLOGIC RHAPSODY
Fixed component ID
5724V74RP
Applicable component levels
R812 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1.2","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
16 December 2015