OSI/FTAM Programming Reference Manual

FTM Procedures
HP NonStop OSI/FTAM Programming Reference Manual528611-001
4-26
FTM_CHANGE_ATTRIB_REQ_
FTM_CHANGE_ATTRIB_REQ_
This procedure allows you to request changes to the file attributes of the file previously
selected.
status return value
INT
indicates the outcome of the call. For a list of possible ZAPS-VAL-STATUS-xxx
values, see Table B-1 on page B-2.
cepi input
INT:value
is the connection endpoint identifier (CEPI) used to identify the specific
association. Use the CEPI value returned from the FTM_INITIALIZE_REQ_
procedure for this association. For additional information on using the cepi
parameter, see the OSI/FTAM Programming Guide.
cepi is a required parameter.
change-attrib input
INT .EXT:ref:(ZFTM-DDL-CHANGE-ATTR)
contains the file attributes to be changed and the new values for the attributes.
change-attrib is a required parameter.
tag input
INT(32):value
is for use in nowait mode only. Specify a unique value to identify this instance of
the procedure call. When the operation is complete, the MFM_AWAITIOX_
procedure returns the tag value, allowing your application to match the completion
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 this procedure, you must have negotiated the enhanced-file-
management functional unit and the appropriate attribute groups on the
FTM_INITIALIZE_REQ_ call. You must also have set the ZCHNGATTR field of the
requested-access parameter of the select request to ON.
status := FTM_CHANGE_ATTRIB_REQ_ ( cepi ! I
, change-attrib ! I
, [ tag ] ) ; ! I