Guardian Programming Reference Summary for pTAL and TAL
SET^FILE Operations
Guardian Programming Reference Summary for pTAL and TAL—522631-001
10-4
SET^ERROR Sets file-system error code 
value for the file. This is used 
only if nowait I/O is in effect 
and the user makes the call to 
AWAITIO for the file.  This is 
the error parameter value 
returned from FILEINFO.
new-error error Open
SET^ 
PHYSIOOUT
Sets or clears physical I/O 
outstanding for the file specified 
by file-fcb. This is used 
only if nowait I/O is in effect 
and the user makes the call to 
AWAITIO for the file.
new-state state Open
SET^PRINT^ 
ERR^MSG
Sets or clears print error 
message for the file. If on and a 
fatal error occurs, an error 
message is displayed on the 
error file. This is the home 
terminal unless otherwise 
specified.
new-state state Open
SET^PROMPT Sets interactive prompt for the 
file. See the OPEN^FILE 
procedure.
new-
prompt-
char
prompt-
char
Open
SET^RCVEOF Sets return end of file (EOF) on 
process close for $RECEIVE 
file. This 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.
new-state state Open
SET^RCV 
OPENCNT
Sets receive open count for the 
$RECEIVE file. This operation 
is intended to clear the count of 
opens when an open already 
accepted by the SIO procedures 
is subsequently rejected by the 
user. See SET^ 
RCVUSEROPENREPLY.
new-
receive-
open-
count
receive-
open-
count
Open
Table 10-1. SET^FILE Operations That Set Values
<operation> 
Parameter
(Required)
Description of Operation 
Requested
new-value
Parameter
Entered 
(Optional)
old-value 
Parameter
Entered 
(Optional)
State 
of File










