FTAM/9000 Programmer's Guide

Chapter 7 289
Managing and Accessing HP FTAM/9000 Files
Opening and Closing Files (HLCS)
If the file you are selecting and opening has access control, the
following conditions exist.
The requested_access parameter must be a subset of the values
stored in action_list field in the access_control_element
corresponding to the initiator_id used to establish the connection.
FTAM will detect conflicts between the initiator_id and the
identity field of the access_control_element.
The HP-UX implementation of FTAM does not use the
file_passwords parameter. Other implementations might.
If you create a new file, the returned file attributes are in the
inout_dcb->attributes.
FTAM uses the exposed parameters filename and contents_type and
does not use input_dcb->attributes.values.filename and input_dcb-
>attributes.values.contents_type.
If you do not specify permitted_actions, FTAM uses requested_access
for permitted_actions.
The processing_mode parameter used when the file is opened
includes all file actions set in requested_access that are valid in the
File Open regime.
If you are selecting and opening a file, but do not know what the
document type is, set contents_type.contents_form to
FT_CONTENTS_UNKNOWN.
Ft_fopen_in_dcb
struct Ft_fopen_in_dcb {
struct Ft_attributes attributes;
struct Ft_concurrency_control *concurrency_control;
struct Ft_file_passwords file_passwords;
Ft_account account;
};