C Command - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

DDL Compiler Commands
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.
NOANSICOBOL Command Example
In this example, the DDL compiler opens a COBOL source file, COBSRC1, and adds
the definition for NAME to that file.
?NOANSICOBOL
?COBOL COBSRC1!
?OUTPUT DEF NAME.
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
02 FIRST-NAME
02 MIDINIT

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.
Data Definition Language (DDL) Reference Manual—426798-002
02 LAST-NAME
02 FIRST-NAME
02 MIDINIT
For TANDEM Layout
PIC X(12).
PIC X(8).
PIC X(2).
VST937.vsd
PIC X(12).
PIC X(8).
PIC X(2).
9 -7
C Command

Advertisement

Table of Contents
loading

Table of Contents