DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 22
COBCHECK Command
COBCHECK Command
The COBCHECK command causes the DDL compiler to:
•
Perform COBOL syntax checks as though the compiler were going to produce
COBOL source code, but without actually generating the code.
•
List messages describing any error or warning conditions discovered during syntax
checking.
COBCHECK
performs the COBOL syntax checks as though COBOL source code were
being produced. If a COBOL source file is open, COBCHECK is the default.
NOCOBCHECK
terminates the COBOL syntax testing. If a COBOL source file is not open,
NOCOBCHECK is the default.
COBCHECK Command Guidelines
The following points are guidelines for using the COBCHECK command:
•
If a COBOL source file is open, the compiler performs the COBOL checks whether
or not COBCHECK is set.
•
You can stop COBOL syntax checking by specifying a NOCOBCHECK command;
you can restart checking with a subsequent COBCHECK.
•
The DDL compiler does not perform the lengthy syntax testing performed by the
COBOL compiler. The DDL compiler tests the DDL statements to ensure that they
do not violate the following rules of form specified by COBOL:
°
The number of alphabetic characters in the PICTURE literal cannot exceed 30
ASCII characters.
°
The maximum numeric PICTURE size is 18 words.
°
An elementary or group field with either an OCCURS or OCCURS
DEPENDING ON clause cannot be redefined by another field or group.
°
An elementary or group field with a REDEFINES clause cannot be larger than
the field or group it redefines.
°
COBOL reserved words cannot be used as DDL names.
°
The object does not contain any of the following unsupported types:
TYPE BINARY 8
TYPE FLOAT
{ NO ] COBCHECK
Содержание DDL D40
Страница 36: ...Introduction to DDL Data Definition Language DDL Reference Manual 426798 002 1 14 Examining a Dictionary ...
Страница 66: ...Named Constants Data Definition Language DDL Reference Manual 426798 002 4 10 Standard SPI Constants ...
Страница 230: ...Dictionary Manipulation Statements Data Definition Language DDL Reference Manual 426798 002 8 14 SHOW USE OF Statement ...
Страница 370: ...Dictionary Maintenance Data Definition Language DDL Reference Manual 426798 002 10 24 Converting a Dictionary ...
Страница 456: ...Sample Schemas Data Definition Language DDL Reference Manual 426798 002 B 12 ASSNDDL Statements ...
Страница 470: ...DDL Data Translation Data Definition Language DDL Reference Manual 426798 002 C 14 ...
Страница 528: ...Dictionary Reports Data Definition Language DDL Reference Manual 426798 002 E 8 Requesting Reports ...
Страница 552: ...DDL Alignment Rules Data Definition Language DDL Reference Manual 426798 002 H 4 FIELDALIGN_SHARED8 Alignment Rules ...
Страница 576: ...Index Data Definition Language DDL Reference Manual 426798 002 Index 22 Special Characters ...