Data Definition Language (DDL) Reference Manual

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual529431-004
9-74
NCLCONSTANT
Example 9-36. NCLCONSTANT Command
DDL Input
?NCLCONSTANT $vol.subvol.myncl !
constant val-1 value 1.
constant VAL-2 value 2.
constant val-abc value "abc".
constant Val-3 value 3.
! for the following definition, DDL generates a warning
! message and does not translate def-1 to NCL
definition def-1. 02 a pic x(10). end.
constant val-4 value 4.
?NONCLCONSTANT
constant val-5 value 5.
constant val-6 value 6.
?NCLCONSTANT $vol.subvol.myncl
constant val-7 value 7.
constant val-8 value 8.
constant large-val value 32768 type binary 32.
DDL Output ($vol.subvol.myncl Content)
/* SCHEMA PRODUCED DATE - TIME :12/01/1992 10:43:29 */
/* Constant VAL-1 created on 12/01/1992 at 10:54 */
%%define VAL_1 1
/* Constant VAL-2 created on 12/01/1992 at 10:54 */
%%define VAL_2 2
/* Constant VAL-ABC created on 12/01/1992 at 10:54 */
%%define val_abc "abc"
/* Constant VAL-3 created on 12/01/1992 at 10:54 */
%%define val_3 3
/* Constant VAL-4 created on 12/01/1992 at 10:54 */
%%define val_4 4
/* Constant VAL-7 created on 12/01/1992 at 10:54 */
%%define val_7 7
/* Constant VAL-8 created on 12/01/1992 at 10:54 */
%%define val_8 8
/* Constant LARGE-VAL created on 12/01/1992 at 10:54 */
%%define large_val 32768