Guardian Procedure Calls Reference Manual
Parameters
common-fcb or file-fcb
input
INT:ref:*
identifies which file is checked. The common file control block (FCB) can be used for certain
types of operations; the common FCB must be used for the operations FILE^BREAKHIT,
FILE^ERRORFILE, and FILE^TRACEBACK. Specifying an improper FCB causes an error indication.
operation
input
INT:value
specifies which file characteristic is checked. The operations and their associated return values
are described in Operations.
ret-addr
output
WADDR
for native callers only, returns an address for the requested operation.
Returned Value
INT
A value associated with the requested operation. The operations and their associated return values
are descibed in Operations.
Operations
Table 8 contains operations that return values returned in retval.
Table 9 contains operations that return addresses. For native callers, addresses are returned in the
ret-addr parameter. For other callers, addresses are returned in retval.
In Table 8 and Table 9 the column labeled "State of File" can contain these:
The file must be open to obtain this characteristic.Open
The file can be either open or closed.Any
Table 8 describes operations that return values returned in retval.
CHECK^FILE Procedure 123