Rational Programming Patterns for System z

Program Definition tab

When you define a Program, you specify its main characteristics.

COBOL program ID
This code is the name of the file generated from this instance. The generated file name can then differ from the instance name.
Type of COBOL code
In this list, you select the COBOL variant for the generated program. The default value upon creation is the value of the Type of COBOL code field in the Library Definition tab.
Note: Some variants are deprecated or not supported.

COBOL target

By default, the generated COBOL files are stored with the design files, in a root folder whose default name you can change. You can separate them from the design files or even change the generation project and folder.

Note: Additional information related to the Generation target of a Program or a Screen is available.
COBOL project
The files generated from this instance will be stored in the project displayed in this field.

The project of the corresponding design file is the default project. If it has been kept, Default is displayed between parentheses next to the project. However, if it has been explicitly changed in the instance, only the project is displayed here, without any other indication. If it has been explicitly changed in the generation Library, 'Inherited from Library' is then displayed between parentheses next to the project. In the instance, you can overwrite the value inherited from the Library.

You can select a new project by clicking the arrow or the 'Change COBOL project and folder' button.

If you change the project, it will be taken into account upon the next generation.

COBOL folder
The files generated from this instance will be stored in the folder displayed here, inside the project displayed in the previous field

The folder of the corresponding design file is the default folder. If it has been kept, Default is displayed between parentheses next to the folder. However, if it has been explicitly changed in the instance, only the folder is displayed here, without any other indication. If it has been explicitly changed in the generation Library, Inherited from Library is then displayed between parentheses next to the folder. In the instance, you can overwrite the value indicated in the Library.

If the default folder has been kept, you can specify a root path for the generated files in the Properties wizard (accessed by clicking the 'Change project properties' button). This path will be automatically inserted in this field, at the beginning of the folder.

You can select a new folder by clicking the arrow or the 'Change COBOL project and folder' button.

If you change the folder, it will be taken into account upon the next generation.

Change project properties
This button opens the Properties wizard, where you can
  • Change the default folder. This folder contains the design files and is the default target of the generated and metadata files.
  • Indicate a root path for the generated files, provided the default generation folder has been kept.
  • Indicate a root path for the metadata files, which are stored by default in the same folder as the other generated files.
Note: A detailed help is available from the Properties wizard of the project.
Change COBOL project and folder
This button opens a selection page with all the projects and folders already present in your workspace.

Expand the appropriate project and select a folder or create a folder. Click OK. The selected folder and project are then automatically displayed in the corresponding fields here.

Type and structure
In the list, select one of the two possible values:
  • B: Batch structure

    It is the default option. It provides the general structure of an iterative structure: beginning of loop (F05), end of run (F20), end of loop (F9099. GO TO F05).

  • T: Online structure

    This option does not provide an iterative structure: no beginning of loop (F05), no end of run (F20), no end of loop (F9099. GO TO F05).

Type of presence validation
In validation programs, the presence of numeric Data Elements is determined according to this option:
  • Present if not blank

    It is the default value. The Data Element is present if its value is not blank.

  • 0: Present if not zero

    The Data Element is present if its value is not zero.

  • L: Present if not low value

    The Data Element is present if it does not contain low values. This option is available for alphabetic and numeric Data Elements.

SQL indicators generation
Generation of SQL indicators with '-'

If you check this option, the SQL indicators will be generated as: V-XXNN-DELCO.

If you do not check this option, the SQL indicators will be generated as: VXXNNDELCO.


Terms of use | Feedback

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