DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9 -7
C Command
This definition is written to COBSRC as follows:
* SCHEMA PRODUCED DATE - TIME : 9/14/2004 - 18:22:07
?SECTION NAME,ANSI
* Definition NAME created on 09/14/2004 at 18:22
01 NAME.
02 LAST-NAME PIC X(12).
02 FIRST-NAME PIC X(8).
02 MIDINIT PIC X(2).
NOANSICOBOL Command Example
In this example, the DDL compiler opens a COBOL source file, COBSRC1, and adds
the definition for NAME to that file.
This definition is written to COBSRC1 as follows:
* SCHEMA PRODUCED DATE - TIME : 9/14/2004 - 18:07:27
?SECTION NAME,TANDEM
* Definition NAME created on 09/14/2004 at 18:07
01 NAME.
02 LAST-NAME PIC X(12).
02 FIRST-NAME PIC X(8).
02 MIDINIT PIC X(2).
C Command
The C command instructs the DDL compiler to:
•
Create and open a C source file or open an existing C source file.
•
Translate subsequent statements that define DDL objects into C source
statements.
•
Translate any DDL objects specified in subsequent OUTPUT statements into
C source statements.
?NOANSICOBOL
?COBOL COBSRC1!
?OUTPUT DEF NAME.
For TANDEM Layout
VST937.vsd