OSI/FTAM Programming Reference Manual
DDL Definitions
HP NonStop OSI/FTAM Programming Reference Manual—528611-001
A-4
Second-Level Data Types
Second-Level Data Types
Second-level basic data types consist of one or more of the first-level data types 
described in the previous subsection.
ZAPS-DDL-CHAR16
is a string of 16 ASCII characters. You can address them as a structure, as bytes, 
or as integers.
ZAPS-DDL-CHAR20
is a string of 20 ASCII characters. You can address them as a structure, as bytes, 
or as integers.
ZAPS-DDL-CHAR32
is a string of 32 ASCII characters. You can address them as a structure, as bytes, 
or as integers.
ZAPS-DDL-CHAR128
is a string of 128 ASCII characters. You can address them as a structure, as bytes, 
or as integers.
 DEFINITION ZAPS-DDL-CHAR16.
 02 ZLEN    TYPE ZAPS-DDL-INT1.
 02 ZC    PIC X(16).
 02 ZS REDEFINES ZC.
  03 ZI    TYPE BINARY 16 OCCURS 8 TIMES.
 02 ZB REDEFINES ZC   PIC X   OCCURS 16 TIMES
 END
 DEFINITION ZAPS-DDL-CHAR20.
 02 ZLEN   TYPE ZAPS-DDL-INT1.
 02 ZC   PIC X(20).
 02 ZS REDEFINES ZC.
  03 ZI   TYPE BINARY 16 OCCURS 10 TIMES.
 02 ZB REDEFINES ZC  PIC X   OCCURS 20 TIMES.
 END
 DEFINITION ZAPS-DDL-CHAR32.
 02 ZLEN   TYPE ZAPS-DDL-INT1.
 02 ZC   PIC X(32).
 02 ZS REDEFINES ZC.
  03 ZI   TYPE BINARY 16 OCCURS 16 TIMES.
 02 ZB REDEFINES ZC  PIC X   OCCURS 32 TIMES.
 END
 DEFINITION ZAPS-DDL-CHAR128.
 02 ZLEN   TYPE ZAPS-DDL-INT1.
 02 ZC   PIC X(128).
 02 ZS REDEFINES ZC.
  03 ZI   TYPE BINARY 16 OCCURS 64 TIMES.
 02 ZB REDEFINES ZC  PIC X   OCCURS 128 TIMES.
 END










