Fixes are available
Rational Software Architect Designer 9.6.0
Rational Software Architect Designer for WebSphere Software 9.6.0
Rational Software Architect Designer for WebSphere Software Fix Pack 3 (9.5.0.3) for 9.5.0
Rational Software Architect Designer Fix Pack 3 (9.5.0.3) for 9.5.0
Rational Software Architect Fix Pack 3 (9.1.2.3) for 9.1.2
Rational Software Architect for WebSphere Software Fix Pack 1 (9.1.2.3) for 9.1.2
APAR status
Closed as program error.
Error description
When trying to define constants with default value such as "const int MAX_SIZE = 5;" you cannot get the code generation to place the assignment of value "5" in the header.
Local fix
There is no local fix but if static is selected for the attribute, the attribute with default initialization is generated in cpp file.
Problem summary
**************************************************************** * USERS AFFECTED: * * - * **************************************************************** * PROBLEM DESCRIPTION: * * When default value is set for a constant in the model, it * * doesnot get reflected in the generated code. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
"Code for default value is not generated. After the fix, default value is assigned to the constants in header file. For this,the C++ InitializerKind should be set to Assignment in the stereotype properties of the attribute"
Temporary fix
Comments
APAR Information
APAR number
PI71402
Reported component name
RATL SW ARCHITE
Reported component ID
5725A3000
Reported release
911
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-10-27
Closed date
2016-12-22
Last modified date
2016-12-22
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 SW ARCHITE
Fixed component ID
5725A3000
Applicable component levels
R911 PSY
UP
R912 PSY
UP
R950 PSY
UP
R960 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"911","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
18 October 2021