OSI/FTAM Programming Guide

Using FTM Procedure Calls
HP NonStop OSI/FTAM Programming Guide528612-001
4-26
The File Open Procedure
perform. The process-mode must be a subset of the requested-access
parameter specified during file selection.
The process-mode parameter is a string of Boolean fields, and each Boolean
field can take on the values ZAPS-VAL-TRUE or ZAPS-VAL-FALSE. The fields and
default values for process-mode include:
2. The contents-type (ZFTM-DDL-CNTNTS-TYPE) parameter identifies the FTAM
document type, with optional parameters you specify. The document type must
either match the document type of the file being opened or be an allowed
simplification of the document type.
If you do not specify contents-type, the default value is
ZFTM-VAL-CNTNTSTYPE-UNKNOWN, and the remote responder returns the
valid contents-type information for the file, which you retrieve via the
FTM_OPEN_CNF_ procedure call.
If you do specify contents-type, the information includes a document type with
associated parameters (universal-class, string-significance, and
maximum-string-length). All are optional parameters; if specified, the value of
maximum-string-length should not be more than 7148. For a full description
of contents-type and its usage, see Section 2, ISO FTAM Concepts.
Supported document types and their associated object identifiers include the
following:
The File Open Procedure
This subsection describes the steps to use the file-open procedure to create, select,
and open an FTAM file as a grouped service and gives details on how to set the
parameters of the FTM_FILE_OPEN_REQ_ procedure.
Field Name Associated Action Default Value
ZREAD Read a FADU in the file. TRUE
ZINSERT Insert data into the file. FALSE
ZREPLACE Replace information in the file. FALSE
ZEXTEND Extend the file. FALSE
ZERASE Erase some or all the content of the file. FALSE
Document Type Object Identifier
FTAM-1 { 1 0 8571 5 1 }
FTAM-2 { 1 0 8571 5 2 }
FTAM-3 { 1 0 8571 5 3 }
NBS-9 { 1 3 14 5 5 9 }