DDL Compiler Commands
Data Definition Language (DDL) Reference Manual — 426798-002
9- 37
C_DECIMAL Command
!OUTPUT *.
Loading Definition EMP
#pragma section emp
/* Definition EMP created on 03/06/2000 at 17:13 */
#pragma fieldalign shared2 __emp
typedef struct __emp
{
char item1[5];
char item2[6];
} emp_def;
C output produced for EMP.
!?C_DECIMAL
!OUTPUT *.
Loading Definition EMP
#pragma section emp
/* Definition EMP created on 03/06/2000 at 17:13 */
#pragma fieldalign shared2 __emp
typedef struct __emp
{
decimal item1[5];
decimal item2[6];
} emp_def;
C output produced for EMP.
!?NOC_DECIMAL
!OUTPUT *.
Loading Definition EMP
#pragma section emp
/* Definition EMP created on 03/06/2000 at 17:13 */
#pragma fieldalign shared2 __emp
typedef struct __emp
{
char item1[5];
char item2[6;
} emp_def;
C output produced for EMP.
!DEF EMP1.
!02 ITEM1 PIC 9(5).
!02 ITEM2 PIC 9(5) COMP.
!END.
Filler emitted at level 2 after ITEM1
Definition EMP1 size is 10 bytes.
Definition EMP1 added to dictionary.
#pragma section emp1
/* Definition EMP1 created on 03/06/2000 at 17:24 */
#pragma fieldalign shared2 __emp1
typedef struct __emp1
{
char item1[5];
unsigned long item2;
} emp1_def;
C output produced for EMP1.
!?C_DECIMAL
!OUTPUT DEF EMP1.
Loading Definition EMP1
#pragma section emp1