OSI/FTAM Programming Reference Manual

DDL Definitions
HP NonStop OSI/FTAM Programming Reference Manual528611-001
A-7
ZAPS Structures
when you establish an association. You can also use ZAPS-DDL-APPL-ADDR to
return the responding address on the association.
ZPSAP is the OSI address of the application.
ZAPPL-NAME is the locally assigned application name.
ZAPS-DDL-APPL-CNTXT
is an ACSE application context name. To provide an application context name for
ISO FTAM, use this format: {iso standard 8571 application-context(1) iso ftam(1) }.
For this example, ZNUM-ELEMENTS can be set to 5, and ZOBJ-ID can be set to
{1 0 8571 1 1}.
ZAPS-DDL-CURRENT-ERROR
provides details of the error currently being reported.
ZERROR-CODE identifies the error being reported. For descriptions of errors reported
by the FTAM initiator or FTAM API, refer to Appendix B, NonStop FTAM Initiator Error
Messages; for errors reported by OSI services below the FTAM level, refer to the
OSI/AS Programming Manual.
ZERROR-SUBCODE further qualifies the error being reported. The interpretation of
this field depends on the value in ZERROR-CODE. For descriptions of subcodes
associated with errors reported by the FTAM initiator or FTAM API, refer to
Appendix B, NonStop FTAM Initiator Error Messages; for subcodes of errors reported
by OSI services below the FTAM level, refer to the OSI/AS Programming Manual.
ZSERVICE-ID identifies the entity reporting the error. For possible values, see ZAPS-
DDL-SERVICE-ID.
ZDIAG-BUF is a diagnostic buffer. The format of this buffer is considered HP internal.
ZAPS-DDL-DATA-ELEMENT-HDR
describes the length and type of a data element in the data parameter. FTAM
implements this structure differently from OSI/AS: the ZTYPE constants have
different values and the ZPCID is not used. For more information on the use of
DEFINITION ZAPS-DDL-APPL-ADDR.
02 ZPSAP TYPE ZAPS-DDL-PSAP.
02 ZAPPL-NAME TYPE ZAPS-DDL-CHAR128.
END
DEFINITION ZAPS-DDL-APPL-CNTXT TYPE ZAPS-DDL-OBJ-ID.
DEFINITION ZAPS-DDL-CURRENT-ERROR.
02 ZERROR-CODE TYPE ZAPS-DDL-ERROR-CODE.
02 ZERROR-SUBCODE TYPE ZAPS-DDL-ERROR-CODE.
02 ZSERVICE-ID TYPE ZAPS-DDL-SERVICE-ID.
02 ZDIAG-BUF TYPE ZAPS-DDL-DIAG-BUF.
END