Pathmaker Programming Guide

Defining Data for a Pathmaker Project
Preparing for Pathmaker Application Development
067868 Tandem Computers Incorporated 2–35
Table 2-6 contains a brief description of DDL commands and one DDL statement that
are related to Pathmaker programming.
Table 2-6. Related Enscribe DDL Commands
Command Description
?COBCHECK Causes the DDL compiler to perform COBOL syntax and
semantic tests as if the compiler were going to produce
COBOL source code; lists any errors discovered by testing.
?CCHECK Causes the DDL compiler to perform C syntax and semantic
tests as if the compiler were going to produce C source code;
lists any errors discovered by testing.
?CFIELDALIGN_MATCHED2
[
cfield
]
Ensures that the request and reply IPC elements are
compatible with their counterparts in COBOL services and
SCREEN COBOL requesters. This command is required for
DEFs and RECORDs used in C services. Field alignment of
existing DEFs and RECORDs could change when they are
recompiled with the CFIELDALIGN_MATCHED2 command,
making them incompatible with services, clients, requesters,
and database files that use old versions of the DEFs and
RECORDs.
?DDL [
file
] Opens or creates the specified file; translates subsequent
RECORD and DEFINITION statements into DDL source code
and places the source code into that file.
If you omit
file
, DDL sends the DDL source code to your
terminal.
?EDIT [
file
] Suspends execution of DDL and runs the EDIT program.
If you omit
file
, DDL assumes the last file name or EDIT
command.
?OUT [
file
] Directs DDL compiler output (source lines and error
messages) to the specified file.
file
can be the name of a
file or an output device.
If you omit
file
, the output is directed to the terminal on
which you are running Pathmaker.
?SOURCE
file
Compiles DDL statements from the specified file.
Statement Description
OUTPUT UPDATE
definition-name.
Produces DDL source code that can be used to delete and
redefine definitions in the DDL dictionary. This statement is
useful for changing a definition that is used by other definitions
or records.
This statement is used together with ?DDL.