Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-23
FILE_COMPLETE_ Procedure
0 The file is a Guardian file.
1 The file is an OSS file.
Z^ERROR
returns a file-system error number for the completion on this file.
Z^FNUM^FD
returns the Guardian file number or OSS file descriptor of the file completed by this
call.
Z^COMPLETION^TYPE
returns the type of operation completed on an OSS file. More than one state can
be ready. (For Guardian files, this space is replaced by
Z^COUNT^TRANSFERRED.)
Z^COMPLETION^TYPE contains the following fields:
Z^READ^READY
can have the following values:
0 Read is not ready for this file.
1 Read is ready for this file.
Z^WRITE^READY
can have the following values:
0 Write is not ready for this file.
1 Write is ready for this file.
Z^EXCEPTION
can have the following values:
0 No exception occurred for this file.
1 An exception occurred for this file.
Z^COUNT^TRANSFERRED
returns the number of bytes transferred in the completed I/O operation on a
Guardian file. (For OSS files, this field is replaced by
Z^COMPLETION^TYPE.)
Z^TAG
for Guardian files, returns the application-defined tag that was specified when the
completed I/O was initiated. This value is undefined if no tag was supplied for that
I/O operation. For OSS files, this field contains 0D.