Guardian Programming Reference Summary for C
SET^FILE Operations
Guardian Programming Reference Summary for C—522630-001
10-7
SET^SYSTEM 
MESSAGES 
(continued)
The user replies to the system 
messages designated by this 
operation by using 
WRITE^FILE. If no 
WRITE^FILE is encountered 
before the next READ^FILE, a 
reply-error-code = 0 is 
made automatically. Note that 
this operation cannot set some 
of the newer system messages; 
for these, use 
SET^SYSTEMMESSAGESM
ANY.
new-sys-
msg-mask
sys-msg-
mask
Open
SET^TRACE 
BACK
Sets or clears the traceback 
feature. When traceback is 
active, the SIO facility appends 
the caller's P-relative address to 
all error messages.
new-state old-state
SET^ 
USERFLAG
Sets user flag for the file. The 
user flag is a one-word value in 
the FCB that the user can 
manipulate to maintain 
information about the file.
new-user-
flag
user-
flag-in-
fcb
Open
SET^ WRITE^ 
FOLD
Sets or clears write-fold for the 
file. If on, write^file operations 
exceeding the record length 
cause multiple logical records to 
be written. If off, write^file 
operations exceeding the record 
length are truncated to record-
length bytes; no error message 
or warning is given.
new-state state
SET^ WRITE^ 
PAD
Sets or clears write-blank-pad 
for the file. If on, write^file 
operations of less than record-
length bytes, including the last 
record if WRITE^FOLD is in 
effect, are padded with trailing 
blanks to fill out the logical 
record.
new-state state Open
SET^ WRITE^ 
TRIM
Sets or clears write-trailing-
blank-trim for the file. If on, 
trailing blanks are trimmed 
from the output record before 
being written to the line.
new-state state Open
<operation> 
Parameter
(Required)
Description of Operation 
Requested
new-value
Parameter
Entered 
(Optional)
old-value 
Parameter
Entered 
(Optional)
State 
of File










