Guardian Programming Reference Summary for pTAL and TAL
SET^FILE Operations
Guardian Programming Reference Summary for pTAL and TAL—522631-001
10-5
SET^ 
RCVUSER 
OPENREPLY
Sets user-will-reply for the 
$RECEIVE file. This is used if 
the SIO procedures are to 
maintain the opener's directory, 
thereby limiting opens to a 
single process or a process pair 
but keeping the option to reject 
opens.
If state is 1, an error of 6 
returns from a call to 
READ^FILE when an open 
message is received and is the 
only current open by a process 
or a process pair. If an open is 
attempted by a process and an 
open is currently in effect, the 
open attempt is rejected by the 
SIO procedures; no return is 
made from READ^FILE 
because of the rejected open 
attempt. 
If state is 0, a return from 
READ^FILE is made only 
when data is received.
Note:
If open message = 1 is specified 
to SET^SYSTEMMESSAGES 
or SET^SYSTEMMESSAGES 
MANY, 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.
new-state state Open
SET^READ^ 
TRIM
Sets or clears read-trailing-
blank-trim for the file. If on, 
the count-read parameter 
does not account for trailing 
blanks.
new-state state 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










