You can define and customize the features available to
your generated COBOL programs. Some predefined features are provided.
About this task
You can do these tasks:
- List current features for COBOL generation and add new features
- Resequence, rename, exclude from the COBOL Program wizard, or
delete some or all of the features
- Export features (including ones that you created) so that they
can be shared
- Import features
- Restore all features to their product defaults
Procedure
To work with preferences for COBOL generation features,
complete the following steps:
-
On the Preferences page, navigate to .
- Perform one or more of the following tasks:
| Task |
Steps |
| Change the order of the list |
- Select the name of a feature.
- Click Up or Down.
|
| Add a feature to the list |
- Click New. The
New feature window
opens.
- Type the name of the new feature and click OK.
- For each feature, you can define and customize the code that you
want to insert into each section of your COBOL program (for example,
the Working Storage section or the Procedure Division). In the tabbed
editors for each section, enter the code to define each feature. The
tabs are as follows:
- Environment
- File
- Working Storage
- Local Storage
- Linkage
- Procedure
- Click Apply.
|
| Rename a feature |
- Select the name of a feature, and click Rename.
The
Rename feature window opens.
- Type the new name, and click OK.
|
| Exclude a feature |
- Clear the checkbox. You do not need to delete the feature.
- Click Apply.
|
| Delete one or more features |
- Select the name of a feature, and click Delete.
The
Confirm delete window opens.
- Click Yes.
|
| Save one or more features to a file |
- Click Export All, or select one or more
features and click Export. The
Export
COBOL features window opens.
- Specify the location and file name of the XML file to be created,
and click Save.
|
| Use features from an existing XML file |
- Click Import. The
Import COBOL
features window opens.
- Select an XML file, and click Open.
|
| Restore the COBOL feature defaults |
- Click Restore Defaults. The
Confirm
Restore Defaults window opens.
- Click OK. All COBOL feature customizations
are removed. The product defaults are restored.
|
- Click OK.