OSI/AS Programming Manual
Basic Data Types
DDL Definitions
A–4 056783 Tandem Computers Incorporated
ZAPS-DDL-CHAR128 is a string of 128 ASCII characters. You can address them as a
STRUCT, as bytes, or as integers.
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
ZAPS-DDL-CURRENT-ERROR, ZAPS-DDL-DIAG-BUF, ZAPS-DDL-ERROR-
CODE, and ZAPS-DDL-FILENAME are described under “Parameter Structures,”
later in this appendix.
ZAPS-DDL-ISPRESENT indicates whether an optional parameter is present.
DEFINITION ZAPS-DDL-ISPRESENT TYPE ZAPS-DDL-ENUM1.
The valid values are:
CONSTANT ZAPS-VAL-ABSENT VALUE 0.
CONSTANT ZAPS-VAL-PRESENT VALUE 1.
ZAPS-DDL-OBJ-ID is the ASN.1 object identifier used for the abstract syntax name,
the transfer syntax name, the application context name, and the application process
title of the application entity title. See ZAPS-DDL-ABSTRACT-SYN-NAME, ZAPS-
DDL-TRANSFER-SYN-NAME, ZAPS-DDL-APPL-CNTXT, and ZAPS-DDL-AE-TITLE
later in this appendix, for information about the use of the object identifier. The object
identifier must contain at least two elements. The value of the first element must be
less than 3, and the value of the second element must be less than 40; all other
elements must be less than 10,000.
DEFINITION ZAPS-DDL-OBJ-ID.
02 ZNUM-ELEMENTS TYPE ZAPS-DDL-INT1.
02 ZOBJ-ID TYPE ZAPS-DDL-INT1 OCCURS 16 TIMES.
END