This document applies only to the following language version(s):
How to generate only specification file or implementation file for a class?
Currently there does not exist any such property in Rational Rhapsody.
However, a solution is to create a component specification/implementation file and map it to the element.Make sure you then set the property CG:File:Generate and CG:File:AddtoMakeFile to false.
For example: for a class A, if you create an component implementation file mapped to A, with the above properties set to false, Rational Rhapsody will then generate only A.h and not A.cpp