Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-33
CTOKENMAP_ASDEFINE
Example 9-16. CTOKENMAP_ASDEFINE Command (page1of4)
$ADE101 JYOTI1 51> DDL
DDL Compiler T9100ABQ - (15NOV99) SYSTEM \BOMBAY
COPYRIGHT TANDEM COMPUTERS INCORPORATED 1978, 1979, 1981, 1982, 1986-1999
!?DICT
Audited dictionary created on subvol $ADE101.JYOTI1.
Dictionary opened on subvol $ADE101.JYOTI1 for update access.
!?C
/* SCHEMA PRODUCED DATE - TIME : 8/02/2000 - 15:03:17 */
Output source for C is opened on $ZTN1.#PTPJHZ4
!?CTOKENMAP_ASDEFINE
!DEF EMP.
!02 F1 PIC XX.
!END.
Definition EMP size is 2 bytes.
Definition EMP added to dictionary.
#pragma section emp
/* Definition EMP created on 08/02/2000 at 15:03 */
#pragma fieldalign shared2 __emp
typedef struct __emp
{
char f1[2];
} emp_def;
#define emp_def_Size 0
C output produced for EMP.
!TOKEN-MAP MAP1 VALUE 1 DEF EMP.
!VERSION "C00" FOR F1.
!END.
Token Map MAP1 defined.
Token Map MAP1 added to dictionary.
#pragma section map1
/* Token Map MAP1 created on 08/02/2000 at 15:03 */
#define MAP1 { 2303, 1, 2, 17152, 767 }
C output produced for MAP1.
!TOKEN-MAP MAP2 VALUE 20 DEF EMP.
!VERSION "C00" FOR F1.
!END.
Token Map MAP2 defined.
Token Map MAP2 added to dictionary.
#pragma section map2
/* Token Map MAP2 created on 08/02/2000 at 15:04 */
#define MAP2 { 2303, 20, 2, 17152, 767 }
C output produced for MAP2.
!DEF EMP1.
!02 F2 PIC X(500).
!END.
Definition EMP1 size is 500 bytes.
Definition EMP1 added to dictionary.
#pragma section emp1
/* Definition EMP1 created on 08/02/2000 at 15:05 */
#pragma fieldalign shared2 __emp1
typedef struct __emp1
{
char f2[500];
} emp1_def;