Data Definition Language (DDL) Reference Manual

Definitions and Records
Data Definition Language (DDL) Reference Manual529431-004
5-7
Reference Definition
Reference Definition
This DEFINITION statement copies an existing definition, giving it a new name. The
new definition can be given its own attributes, which can override all copied attributes
except data type and size.
For descriptions of clauses, see Syntax Elements
on page 5-21.
DEF[INITION] def-name-1 TYPE def-name-2
[ AS-clause ]
[ BEGIN ]
[ DISPLAY-clause ]
[ EDIT-PIC-clause ]
[ EXTERNAL-clause ]
[ HEADING-clause ]
[ HELP-clause ]
[ MUST-BE-clause ]
[ NULL-clause ]
[ SPI-NULL-clause ]
[ TACL-clause ]
[ UPSHIFT-clause ]
[ USAGE-clause ]
[ VALUE-clause ] .
[ 88-condition-name-clause . ] ...
[ END [ . ] ]
Example 5-3. Reference Definitions
DEF cust-name TYPE company-name
HEADING "Customer" .
DEF home-phone TYPE phone
HEADING "Employee/Home Phone".