APAR status
Closed as Permanent restriction.
Error description
Generate against an element in a model-centric project when performing code generation. After CG, continue to call RoundTrip against the element, error 'dont-care-loc *** unable to open source file ............cpp, return code = 1' is reported by the tool.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** If the model is not Code Centric and the property 'CPP_CG::File::Generate' of a package or a class is set to the value 'Specification', only a specification file is generated for the element. In the roundtrip an implementation file is expected and therefore error is reported.
Problem conclusion
When the property 'CPP_CG::File::Generate' is set to the value 'Specification', the implementation file will not be generated. However if the model is not Code Centric in the roundtrip process the implementation file is expected to be there. It is a user's responsibility to add the implementation file. The workaround can be to generate the file once and then to change the value of the property 'CPP_CG::File::Generate' to 'Specification'.
Temporary fix
Comments
APAR Information
APAR number
PM88072
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
761
Status
CLOSED PRS
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-04-29
Closed date
2013-07-07
Last modified date
2013-07-07
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
[{"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":"7.6.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
07 July 2013