DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9 -6
ANSICOBOL Command
ANSICOBOL Command
The ANSICOBOL command directs the DDL compiler to generate COBOL output in
either TANDEM or ANSI format.
ANSICOBOL
directs DDL to generate COBOL output in ANSI format.
NOANSICOBOL
directs DDL to generate COBOL output in TANDEM format. The TANDEM
format is the default format.
ANSICOBOL Command Example
In this example, the DDL compiler opens a COBOL source file, COBSRC, and adds
the definition for NAME to that file.
Other
commands
(continued)
HELP
Lists a brief description of any or all
compiler commands (A).
RESET
Stops compiling the current statement
(A).
TEDIT
Suspends compiler execution and starts
a PS Text Edit process (A).
(A) Act immediately
(S) Set condition for subsequent action
Table 9-1. DDL Compiler Commands (page 6 of 6)
General
Function
Command
Function
?ANSICOBOL
?COBOL COBSRC!
DEF name.
02 last-name PIC X(12).
02 first-name PIC X(8).
02 midinit PIC X(2).
END.
For ANSI layout
VST936.vsd