Rational Developer for System z, Version 7.5

Generating

From the Generate choice of the Design explorer view, you can generate the error messages and Copybooks related to a given Data Structure, you can generate the design of a Program and initialize the file in which you will enter the code of a Macro.

To generate the error messages or Copybooks of a Data Structure, you must;
  • Either right-click on an open location and select Generate > error messages generation or Generate > Copybook generation. In the wizard which opens up, all the Data Structures present in the location are selected by default. You can leave them all selected or deselect some of them and fill in the other fields of the wizard (A contextual help is available on this wizard). Click Finish.
  • Or right-click on a given Data Structure. The rest of the operations are identical, except that in the wizard, only this Data Structure is selected by default.
To (re-)initialize the file which will contain the code of the Macro, you must;
  • Either right-click on an open location and select Generate > cblgen generation. In the selection wizard which opens up, all the Macros present in the location are selected by default. You can leave them all selected or deselect some of them Click Finish.
  • Or right-click on a given Macro. In the selection wizard, only this Macro is selected by default. Click Finish
This generation creates or re-initializes a .cblgen file, one for each selected Macro, in the Navigator view. So, go to the Navigator view, right-click on a .cblgen filet and choose Open with > Pdp macro editor to access the 'Macrostructure tags tree' view and the .cblgen editor, in which you will enter the Macro code. (A contextual help is available on this view and editor).

To generate the design of a Program, you must right-click on a given Program and select Generate > Program generation. A 'Progress information' message box is displayed until the generation is complete. The generation outputs a .cbl file, nested under the Program in the Design explorer view. Right-click on it and choose Open with > Pdp Cobol System z Lpex editor to access the Cobol editor and views which will enable you to work on the code. (A contextual help is available on this editor and views)

Related tasks
Generating the Pac COBOL and modifying it: the various steps
Related reference
The 'Design explorer' view

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)