Program Verifiers - ILE COBOL - Type Conversions

Option Description Default
Name of date, time, timestamp Select this check box to declare date, time, and timestamp data types as fixed-length character fields that are accessible to the program. Off
Variable-length field Determines the compiler handles variable-length fields passed from externally-described files through COPY DDS. Select this check box to declare variable-length fields as fixed-length group items that are accessible to the program. Off
DBCS graphic as PIC X Fixed-length graphic data types are declared as fixed-length alphanumeric (X-type) fields, and are accessible to the program. Off
DBCS graphic as PIC G Fixed-length graphic data types are declared as fixed-length graphic (G-type) fields, and are accessible to the program. Off
Floating point
  • Selected: Floating-point data types are brought into the program with their DDS names and a USAGE of COMP-1 (single-precision) or COMP-2 (double-precision). The fields are made accessible to the ILE COBOL source program.
  • Not selected: Floating-point data types are declared as FILLER fields with a USAGE of binary.
Off
Date
  • Selected: DDS date data types are declared as category date COBOL data items. For example: 06 FILLER FORMAT DATE '@Y-%m-%d'.
  • Not selected: DDS date data types are declared as category alphanumeric COBOL data items. For example: 06 FILLER PIC X(10).
Off
Time
  • Selected: DDS time data types are declared as category time COBOL data items. For example: 06 FILLER FORMAT TIME '%H:%M:%S'.
  • Not selected: DDS time data types are declared as category alphanumeric COBOL data items. For example: 06 FILLER PIC X(8)
Off
Timestamp
  • Selected: *TIMESTAMP DDS timestamp data types are declared as category timestamp COBOL data items. For example: 06 FILLER FORMAT TIMESTAMP.
  • Not selected: DDS timestamp data types are declared as category alphanumeric COBOL data items. For example: 06 FILLER PIC X(26).
Off
Convert to date
  • Selected: If you select this, the DDS data types with the DATFMT keyword (excluding the DDS date data type) are declared in ILE COBOL as date data types.
  • Not selected: DDS data types with the DATFMT keyword (excluding the DDS date data type) are declared in ILE COBOL based on their original DDS type.
Off
National graphic as PIC N
  • Selected: Fixed-length graphic data items associated with coded character set identifier 13488 are declared as fixed-length N fields, and are accessible to the ILE COBOL source program.
  • Not selected: The processing of graphic fields depends upon the values specified for the DBCS graphic as PIC X and DBCS graphic as PIC G options.
Off

Feedback