Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-22
CHECK^FILE Procedure
The following table describes operations that return addresses. For native callers,
addresses are returned in the
ret-addr parameter. For other callers, addresses are
returned in
retval.
FILE
^SYSTEMMESSAGESMANY
Open Returns the word address within the FCB
of a four-word mask indicating which
system messages the user handles
directly. See SET^FILE for the format. A
return of all zeros indicates that the SIO
procedures handle all system messages.
FILE^TRACEBACK Any 0 if the P-relative address should not be
appended to all SIO error messages.
1 if the P-relative address should be
appended to all SIO error messages.
FILE^USERFLAG Any Returns the user flag word. (See
SET^FLAG procedure, SET^USERFLAG
operation.)
FILE^WRITE^FOLD Open 0 if records longer than the logical record
length are truncated.
1 if long records are folded.
FILE^WRITE^PAD Open 0 if a record shorter than the logical
record length is not padded with trailing
blanks before it is written to the file.
1 if a short record is padded with trailing
blanks.
FILE^WRITE^TRIM Open 0 if trailing blanks are not trimmed from
data written to the file.
1 if trailing blanks are trimmed.
Table 3-2. CHECK^FILE Operations That Return Values (page 5 of 5)
operation
State
of File
retval