Guardian Procedure Calls Reference Manual

Table 42 SET^FILE Operations That Set Values (continued)
State of Fileold-valuenew-valueDescription of Operation Requestedoperation
is 1000, which corresponds to an
increment of 1. The possible EDIT line
numbers are from 0 to 99999.999
Openmust be
omitted
must be
omitted
Specifies that this READ^FILE is to begin
at the position set in the sequential block
SET^EDITREAD^REPOSITION
buffer (second through fourth words). For
example:
CALL SET^FILE(EDIT^FCB,
SET^EDITREAD^REPOSITION);
See discussion of the
SET^EDITREAD^REPOSITION operation
in the Guardian Programmer's Guide.
Openerrornew-errorSets file-system error code value for the
file. This value is used only if nowait I/O
SET^ERROR
is in effect and the user makes the call to
AWAITIO for the file. The value is the
error parameter value returned from
FILEINFO.
Openstatenew-stateSets or clears physical I/O outstanding
for the file specified by file-fcb. This
SET^PHYSIOOUT
value is used only if nowait I/O is in effect
and the user makes the call to AWAITIO
for the file.
Openstatenew-stateSets or clears print error message for the
file. If on and a fatal error occurs, an error
SET^PRINT^ERR^MSG
message is displayed on error file (the
home terminal, unless otherwise specified).
Openprompt-charnew-prompt-charSets interactive prompt for the file. See the
OPEN^FILE procedure.
SET^PROMPT
Openstatenew-stateSets return end of file (EOF) on process
close for $RECEIVE file. This operation
SET^RCVEOF
causes an EOF indication to be returned
from READ^FILE when the receive open
count goes from 1 to 0. The setting for
return EOF has no meaning if the user is
monitoring open and close messages. If
the file is opened with read-only access,
the setting defaults to on for return EOF.
Openreceive-open-countnew-receive-open-countSets receive open count for the $RECEIVE
file. This operation is intended to clear the
SET^RCVOPENCNT
count of openers when an open already
accepted by the SIO procedures is
subsequently rejected by the user. See
SET^RCVUSEROPENREPLY.
Openstatenew-stateIf state is 0, a return from READ^FILE is
made only when data is received.
SET^RCVUSEROPENREPLY
Note: If open message = 1 is specified to
SET^SYSTEMMESSAGES or
SET^SYSTEMMESSAGESMANY, the
setting of SET^RCVUSEROPENREPLY has
no meaning. An error of 6 returns from
READ^FILE if an open message is
accepted by the SIO procedures.
1308 Guardian Procedure Calls (S)