At this part of the process, the system architect who has been modeling the programs and data structures has been using the capabilities of Rational System Architect, enhanced with profiles containing additional stereotypes, primitive types, and patterns. The second modeling transformation generates the output that is used with Rational Developer for System z to continue COBOL development for System z.
One COBOL source program is generated for each modeled operation in the COBOL-specific model that has been used with the COBOL program pattern. In addition, a copybook is generated for each defined data structure that has the DataObject stereotype applied, and the toCopybook attribute of the stereotype set to true.
To set the toCopybook attribute, complete the following steps:
