Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-21
CHECK^FILE Procedure
FILE^PRINT^ERR^MSG Open 0 if no error message is to be printed
upon detection of a fatal error in the file.
1 if an error message is to be printed.
FILE^PROMPT Open Returns the interactive prompt character
for the file in <9:15>.
FILE^RCVEOF Open 0 if the user does not get an end-of-file
(EOF) indication when the process
[pair] having this process open closes
it.
1 if the user does get an EOF indication
when this process closes.
FILE^RCVOPENCNT Open Returns a count of current openers of this
process {0:2}. At any given moment,
openers are limited to a single process
[pair].
FILE^RCVUSEROPENREPL
Y
Open 0 if the SIO procedures are to reply to the
open messages ($RECEIVE file).
1 if the user is to reply to the open
messages.
FILE^READ^TRIM Open 0 if the trailing blanks are not trimmed off
the data read from this file.
1 if the trailing blanks are trimmed.
FILE^RECORDLEN Any Returns the logical record length.
FILE^SECEXT Any
Returns the file's secondary extent size in
pages. The
secondary extent size
cannot be greater than 65,535 pages.
Otherwise, error 538 is returned.
FILE^SYSTEMMESSAGES Open Returns a mask word indicating which
system messages the user handles
directly. See SET^FILE for the format. 0
indicates that the SIO procedures handle
all system messages. Note that this
operation cannot check some of the newer
system messages; for these, use operation
FILE^SYSTEMMESSAGESMANY.
Table 3-2. CHECK^FILE Operations That Return Values (page 4 of 5)
operation
State
of File
retval