Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-24
CHECK^FILE Procedure
Example
native caller:
CALL CHECK^FILE (IN^FILE , FILE^FILENAME^ADDR, INFILE^ADDR);
other callers:
@INFILE^NAME := CHECK^FILE (IN^FILE , FILE^FILENAME^ADDR);
Related Programming Manual
For programming information about the CHECK^FILE procedure, refer to the Guardian
Programmer’s Guide.
FILE^OPENERSPID^ADDR Open Returns the word address within the FCB
of the file openers PID. Valid only for C-
series format FCBs.
FILE^SEQNUM^ADDR Any Returns the word address within the FCB
of an INT (32) sequence number. This is
the line number of the last record read of
an EDIT file. For other files, this is the
sequence number of the last record read
multiplied by 1000.
FILE^USERFLAG^ADDR Any Returns the word address within the FCB
of the user flag word.
Table 3-3. CHECK^FILE Operations That Return Addresses (page2of2)
operation
State
of File
ret-addr (for native callers) retval (for other
callers)