Data Definition Language (DDL) Reference Manual

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual529431-004
9-37
C_DECIMAL
C_DECIMAL
The [NO]C_DECIMAL command generates decimal [char] output for subsequent C
simple numeric items.
Default: NOC_DECIMAL
C_DECIMAL
generates decimal output for subsequent C simple numeric items.
NOC_DECIMAL
generates char output for subsequent C simple numeric items.
The C_DECIMAL command is used to produce decimal values in C output for simple
numeric fields.
For computational numeric fields, the DDL compiler ignores the effect of the
C_DECIMAL command.
DDL Output (C Code)
/* SCHEMA PRODUCED DATE - TIME : 3/10/2000 - 20:05:28 */
#pragma section emp
/* Constant EMP created on 03/10/2000 at 20:05 */
#define EMP "JYOTI"
#ifdef EMP
#undef EMP
#endif
[NO]C_DECIMAL
Example 9-18. C_DECIMAL and NOC_DECIMAL Commands (page 1 of 3)
12> DICT
!DEF EMP.
!02 ITEM1 PIC 9(5).
!02 ITEM2 PIC 9(6).
!END.
Example 9-17. CUNDEF Command (page 2 of 2)