A fix is available
APAR status
Closed as program error.
Error description
If you have two packages "A" and "B" in Rhapsody model. In the package "A" there is a class "Base" which implements a state chart. There is one "triggered operation" named "tr" with an "int" parameter. The package "B" defines a namespace (CPP_CG::Package::DefineNameSpace). Inside "B" there is class "Derived" which derives from "A::Base". Compilation of this project leads to compiler error: Derived.cpp(52) : error C2653: 'A' : is not a class or namespace name If you look at the error, than you will recognize, that Rhapsody generated a namespace for "tr_Base_Event", but this event is not in any namespace.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Rhapsody * **************************************************************** * PROBLEM DESCRIPTION: * * Incorrect code generated while using derived state charts * * and namespaces. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
Name space is generated before triggered operation event only if it is defined in subsystem, where it belongs to.
Temporary fix
Comments
APAR Information
APAR number
PI83119
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
812
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-06-15
Closed date
2017-12-04
Last modified date
2017-12-04
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 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1.2","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
19 October 2021