OSI/FTAM Programming Reference Manual

DDL Definitions
HP NonStop OSI/FTAM Programming Reference Manual528611-001
A-26
ZFTM Structures
ZFTM-DDL-DE-FADU
is the data type for an FTAM structuring data element. ZFTM-DDL-DE-FADU is not
a valid data element for FTAM-1, FTAM-3, or NBS-9 document types.
ZTYPE indicates the type of structuring data element for a file. Allowable values for
ZTYPE are:
ZFTM-VAL-DE-NODE-DESC describes the node of the FADU.
ZFTM-VAL-DE-ENTER-SUBTREE is reserved.
ZFTM-VAL-DE-EXIT-SUBTREE is reserved.
ZNAMEISPRESENT indicates whether a node name is provided.
ZNAME indicates the node name used by the node descriptor data element. This field
is not used.
ZARCLENGTHISPRESENT indicates whether an arc length has been specified.
ZARCLENGTH indicates how many nodes in the hierarchy you are from the root node.
The arc length of an FTAM-2 document type is always 1.
ZDATAEXISTSISPRESENT indicates whether data exists in the file. The default value
is ZAPS-VAL-PRESENT.
ZDATAEXISTS indicates that there is data associated with the node descriptor. The
value for ZDATAEXISTS should always be ZAPS-VAL-TRUE for an FTAM-2 document
type.
DEFINITION ZFTM-DDL-DE-FADU.
02 ZTYPE TYPE ZAPS-DDL-INT2.
02 ZNAMEISPRESENT TYPE ZAPS-DDL-ISPRESENT.
02 ZNAME TYPE ZAPS-DDL-CHAR32.
02 ZARCLENGTHISPRESENT TYPE ZAPS-DDL-ISPRESENT.
02 ZARCLENGTH TYPE ZAPS-DDL-INT2.
02 ZDATAEXISTSISPRESENT TYPE ZAPS-DDL-ISPRESENT.
02 ZDATAEXISTS TYPE ZAPS-DDL-BOOLEAN.
END
The valid values for ZTYPE are:
CONSTANT ZFTM-VAL-DE-NODE-DESC VALUE 0 TYPE BINARY 32.
CONSTANT ZFTM-VAL-DE-ENTER-SUBTREE VALUE 1 TYPE BINARY 32.
CONSTANT ZFTM-VAL-DE-EXIT-SUBTREE VALUE 2 TYPE BINARY 32.