Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-46
SET^FILE Procedure
•
The ASSIGN^SECEXT operation comes into effect only when an
ASSIGN^PRIEXT (or ASSIGN^PRIMARYEXTENTSIZE) operation is specified. If
the primary extent (ASSIGN^PRIEXT) has not been set explicitly, any command to
set the secondary extent (ASSIGN^SECEXT) will be ignored, and the secondary
extent will have the default value. The following table describes operations that set
values in the
new-value parameter.
.
Table 14-2. SET^FILE Operations That Set Values (page 1 of 10)
operation
Description of
Operation Requested new-value
old-value
State
of
File
ASSIGN^
BLOCKBUFLEN
(or ASSIGN^
BLOCKLENGTH)
Specifies the block
length, in bytes, for the
file.
<new-
blocklen>
<blocklen>
Closed
ASSIGN^FILECODE Specifies the file code
for the file.
<new-file-
code>
<file-code>
Closed
ASSIGN^
OPENACCESS
Specifies the open
access for the file. The
following literals are
provided for <open-
access>:
READWRITE^ACCES
S
(
0
)
READ^ACCESS (1)
WRITE^ACCESS(2)
Even if
WRITE^ACCESS is
specified, SIO actually
opens the file with
READWRITE^ACCESS
to facilitate interactive
I/O.
<new-open-
access>
<open-
access>
Closed