To use the object-oriented COBOL source generation wizard to create an object-oriented COBOL source file:
Select "File" > "New" > "Object-Oriented COBOL Source" from the menu bar.
Specify basic information for the object-oriented COBOL source on the Object-Oriented COBOL Source Information page, and click the "Finish" button.
Field | Description |
---|---|
Project name | Enter a name for the project in which the source file is created. |
File name | Specify a name for the COBOL source file to be created. |
CLASS-ID | Enter a CLASS-ID. The CLASS-ID is the same as the File name by default. To change the CLASS-ID, enter a new one in this field. |
Superclass | Optional: Specify the parent class name of the class to be generated. Specification of the parent class name can be omitted. In that case, FJBASE is assumed to be the parent class. |
File comment | Optional: Enter a comment to be added at the beginning of the generated COBOL source code. |
Select this item to generate a precompiler input source. This item is accessible only if precompiler link information has been set for the workspace. For details on setting precompiler link information for a workspace, see "6.2.1 Setting and changing initial values of precompiler link information". |