When you define a Program, you specify its main characteristics.
All the fields are required.
- COBOL Program ID
- This code identifies the generated program:
- in the IDENTIFICATION DIVISION,
- in a source modules library,
- in the executable modules library.
This code can be integrated in the job control language lines generated
before or after the Program.
- Type of COBOL code
- In this dropdown list, you select the COBOL variant for the generated
Program. The default value upon creation is the value of the Generated
Language field in the Library Definition tab.
- COBOL numbering and alignment
- Select a value in the dropdown list. With this option, you can suppress
the numbering or the identification of a program or modify the justification
of the generated program lines.
- Type and structure
- In the dropdown list, select the value which identifies the structure
of the generated Program or the type of the Program in the Library
- B: Batch Program structure
This is the default
option. It provides the general structure of an iterative program: beginning
of loop (F05), end of run (F20), end of
loop (F9099. GO TO F05).
- T: On-line Program 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 will be
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
- You can obtain cross-references for the use of SQL indicators.
If
you check this option, the SQL indicators will be generated in the format: VXXNNDELCO.
If
you do not check this option, the SQL indicators will be generated in the
format: V-XXNN-DELCO.