OSI/FTAM Programming Reference Manual

FTM Procedures
HP NonStop OSI/FTAM Programming Reference Manual528611-001
4-78
FTM_FILE_CLOSE_REQ_
with the correct instance of the procedure call. For details on the use of the tag
parameter, see the OSI/FTAM Programming Guide.
tag is an optional parameter.
Considerations
Before calling FTM_FILE_CLOSE_REQ_, you must have negotiated a service
class other than the file-management service class via the
FTM_INITIALIZE_REQ_ call.
You must also have negotiated the grouping functional unit and the read or write
functional unit.
To complete this procedure call successfully, the association must be in the
file-open regime.
You must issue an MFM_AWAITIOX_ call to complete the nowait I/O operation if
you set the nowait operating mode in the FTM_INITIALIZE_REQ_ call.
The FTM_FILE_CLOSE_REQ_ procedure call is valid only if the grouping
functional unit has been negotiated.
If the delete-action parameter is ZFTM-VAL-CLOSE-NODELETE, this call
results in the following grouped request:
F-BEGIN-GROUP
F-CLOSE
F-DESELECT
F-END-GROUP
If delete-action is ZFTM-VAL-CLOSE-DELETE, the FTM_FILE_OPEN_REQ_
call results in the following grouped request:
F-BEGIN-GROUP
F-CLOSE
F-DELETE
F-END-GROUP
The grouping threshold parameter is set to 2 for this grouped procedure. This
means that the entire call must either succeed or fail. If the call does not succeed,
the association remains in the same regime and state as before the call and the file
remains open.