OSI/FTAM Programming Reference Manual
DDL Definitions
HP NonStop OSI/FTAM Programming Reference Manual—528611-001
A-8
ZAPS Structures
data element headers, refer to the OSI/FTAM Programming Guide and ZAPS-DDL-
DATA-HDR in this subsection.
ZLEN defines the length in bytes of the data in this element, excluding the header and 
pad byte, if one is needed. For more information on pad bytes, see the OSI/FTAM 
Programming Guide.
ZTYPE specifies the type of data in this element as follows:
ZFTM-VAL-DE-NOTSUPPORTED is reserved.
ZFTM-VAL-DE-FADU represents a structuring data element that can be either a 
node descriptor data element, an enter subtree data element, or an exit subtree 
data element. Only FTAM-2 in the “FA” access context uses this data element. (For 
more information on the data type used for FTAM structuring data elements, see 
ZFTM-DDL-DE-FADU on page A-26.)
ZFTM-VAL-DE-TEXT indicates that each element consists of a string of characters. 
FTAM-1 and FTAM-2 files use this data element.
ZFTM-VAL-DE-BINARY indicates that each element consists of a string of octets. 
FTAM-3 uses this data element. 
ZFTM-VAL-DE-DIRECTORY indicates that each element consists of the file read 
attributes of a directory entry. NBS-9 files use this data element. Only 
FTM_DATA_IND_ calls can use ZFTM-VAL-DE-DIRECTORY because NBS-9 files 
cannot be written.
FILLER is not used by FTAM.
ZAPS-DDL-DATA-HDR
is the header of the data parameter. For more information, refer to the OSI/FTAM 
Programming Guide and ZAPS-DDL-DATA-ELEMENT-HDR in this subsection.
 DEFINITION ZAPS-DDL-DATA-ELEMENT-HDR.
 02 ZLEN   TYPE ZAPS-DDL-INT2.
 02 ZTYPE   TYPE ZAPS-DDL-ENUM1.
 *02 ZPCID   TYPE ZAPS-DDL-PRES-CNTXT-ID.
 02 FILLER   PIC X(18).
 END
 The only valid values of ZTYPE are:
 CONSTANT ZFTM-VAL-DE-NOTSUPPORTED   VALUE 1.
 CONSTANT ZFTM-VAL-DE-FADU    VALUE 2.
 CONSTANT ZFTM-VAL-DE-TEXT    VALUE 3.
 CONSTANT ZFTM-VAL-DE-BINARY    VALUE 4.
 CONSTANT ZFTM-VAL-DE-DIRECTORY   VALUE 5.
 * DEFINITION  ZAPS-DDL-PRES-CNTXT-ID TYPE ZAPS-DDL-INT1.
 DEFINITION ZAPS-DDL-DATA-HDR.
 02 ZNUM-ELEMENTS   TYPE ZAPS-DDL-INT1.
 02 FILLER    PIC X(14).
 END










