OSI/FTAM Programming Reference Manual

DDL Definitions
HP NonStop OSI/FTAM Programming Reference Manual528611-001
A-33
ZFTM Structures
ZRANDOM specifies access that permits you to select any FADU by the FADU identity
specified in a read, write, or locate request.
ZFTM-DDL-PROC-MODE
specifies the processing mode that defines the actions permitted on the FADUs of
the file in the open regime. To allow multiple actions, set the corresponding fields in
ZFTM-DDL-PROC-MODE to ZAPS-VAL-TRUE.
ZREAD requests the ability to read a FADU in the file.
ZINSERT requests the ability to insert a new FADU into a file.
ZREPLACE requests the ability to replace a FADU in the file.
ZEXTEND requests the ability to extend an existing FADU in a file.
ZERASE requests the ability to erase a FADU from a file.
ZFTM-DDL-READ-ATTR
returns the values of the attributes that can be read when you issue a request to
read the attributes of a file. You also use this structure in the data-value
parameter of the FTM_DATA_IND_ procedure to read NBS-9 files from a remote
responder. For a detailed description of file attributes, refer to the OSI/FTAM
Programming Guide. For more information on reading NBS-9 files, see that
manual.
DEFINITION ZFTM-DDL-PROC-MODE.
02 ZREAD TYPE ZAPS-DDL-BOOLEAN.
02 ZINSERT TYPE ZAPS-DDL-BOOLEAN.
02 ZREPLACE TYPE ZAPS-DDL-BOOLEAN.
02 ZEXTEND TYPE ZAPS-DDL-BOOLEAN.
02 ZERASE TYPE ZAPS-DDL-BOOLEAN.
END