OSI/FTAM Programming Reference Manual

DDL Definitions
HP NonStop OSI/FTAM Programming Reference Manual528611-001
A-27
ZFTM Structures
ZFTM-DDL-DIAG-ELEM
contains the information returned in a single FTAM diagnostic message.
ZDIAGTYPE indicates the severity of the message as follows:
ZFTM-VAL-DIAG-INFORMATIVE provides information about an operation. This
field is informative; it does not affect the current state of the file service and does
not require any recovery.
ZFTM-VAL-DIAG-TRANSIENT indicates that the failure is temporary and might not
occur if the operation is repeated.
ZFTM-VAL-DIAG-PERMANENT indicates that the failure of at least the present
operation is likely to occur every time the sequence of events is repeated.
ZERRORID identifies the diagnostic error code. For the meanings of diagnostic error
codes, see Appendix C, ISO FTAM Diagnostic Messages.
ZERROROBSERVER names the entity that reported the error.
ZERRORSOURCE names the presumed source of the error.
ZSUGGESTEDDELAYISPRESENT indicates whether a specific delay has been
suggested.
ZSUGGESTEDDELAY contains a suggested time to wait before error recovery is
attempted. The returned value is the exponent of 2 that specifies the suggested delay
in seconds.
ZFURTHERDETAILSISPRESENT indicates if further details about the error are
present.
ZFURTHERDETAILS is a text message giving further details about the cause of the
error. Only the first 256 characters of the message are sent to the application from the
FTAM API.
DEFINITION ZFTM-DDL-DIAG-ELEM.
02 ZDIAGTYPE TYPE ZAPS-DDL-INT2.
02 ZERRORID TYPE ZAPS-DDL-INT2.
02 ZERROROBSERVER TYPE ZFTM-DDL-ENTITY-REF.
02 ZERRORSOURCE TYPE ZFTM-DDL-ENTITY-REF.
02 ZSUGGESTEDDELAYISPRESENT TYPE ZAPS-DDL-ISPRESENT.
02 ZSUGGESTEDDELAY TYPE ZAPS-DDL-INT2.
02 ZFURTHERDETAILSISPRESENT TYPE ZAPS-DDL-ISPRESENT.
02 ZFURTHERDETAILS TYPE ZFTM-DDL-CHAR256.
END
The valid values for ZDIAGTYPE are:
CONSTANT ZFTM-VAL-DIAG-INFORMATIVE VALUE 0 TYPE BINARY 32.
CONSTANT ZFTM-VAL-DIAG-TRANSIENT VALUE 1 TYPE BINARY 32.
CONSTANT ZFTM-VAL-DIAG-PERMANENT VALUE 2 TYPE BINARY 32.