OSI/FTAM Programming Reference Manual

DDL Definitions
HP NonStop OSI/FTAM Programming Reference Manual528611-001
A-5
Parameter Structures
ZAPS-DDL-ISPRESENT
indicates whether an optional parameter is present.
ZAPS-DDL-OBJ-ID
is the ASN.1 object identifier used for the abstract syntax name, the transfer syntax
name, and the application context name. For more information, see ZAPS-DDL-
ABSTRACT-SYN-NAME, ZAPS-DDL-TRANSFER-SYN-NAME, ZAPS-DDL-APPL-
CNTXT, ZFTM-DDL-CNTNTS-LIST, and ZFTM-DDL-CNTNTS-TYPE. 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.
ZFTM-DDL-CHAR256
is a string of 256 ASCII characters. You can address them as a structure, as bytes,
or as integers.
Parameter Structures
Structures from the ZAPSDDL and ZFTMDDL files are used to define some of the
parameters to the APS and FTAM procedures. The parameter structures these
procedures use as data types are named parenthetically in the parameter descriptions
in Section A, DDL Definitions. The following pages provide general information about
these structures. Following the DDL codes for each structure are explanations for the
individual fields in the structure and the values each field can assume. Named values
described in the field explanations are cross-referenced under Named Values on
page A-37.
DEFINITION ZAPS-DDL-ISPRESENT TYPE ZAPS-DDL-ENUM1.
The valid values are:
CONSTANT ZAPS-VAL-ABSENT VALUE 0.
CONSTANT ZAPS-VAL-PRESENT VALUE 1.
DEFINITION ZAPS-DDL-OBJ-ID.
02 ZNUM-ELEMENTS TYPE ZAPS-DDL-INT1.
02 ZOBJ-ID TYPE ZAPS-DDL-INT1 OCCURS 16 TIMES.
END
DEFINITION ZFTM-DDL-CHAR256.
02 ZLEN TYPE ZAPS-DDL-INT1.
02 ZC PIC X(256).
02 ZS REDEFINES ZC.
03 ZI TYPE BINARY 16 OCCURS 128 TIMES.
02 ZB REDEFINES ZC PIC X OCCURS 256 TIMES.
END