Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-47
SET^FILE Procedure
ASSIGN^
OPENEXCLUSION
Specifies the open 
exclusion for the file. 
The following literals are 
provided for <open-
exclusion>:
SHARE(0)
EXCLUSIVE (1)
PROTECTED(3)
<new-open-
exclusion>
<open-
exclusion>
Closed
ASSIGN^PRIEXT
(or ASSIGN^
PRIMARY
EXTENTSIZE)
Specifies the primary 
extent size (in units of 
2048-byte blocks) for the 
file.
<new-pret-
ext-size>
<pri-ext-
size>
Closed
ASSIGN^RECORDLEN
(or ASSIGN^
RECORDLENGTH)
Specifies the logical 
record length (in bytes) 
for the file. ASSIGN^
RECORDLENGTH gives 
the default read or write 
count. For default 
values, see the 
Guardian Programmer’s 
Guide.
<new-
recordlen>
<recordlen>
Closed
ASSIGN^SECEXT
(or ASSIGN^
SECONDARY
EXTENTSIZE)
Specifies the secondary 
extent size (in units of 
2048-byte blocks) for the 
file.
When set alone without 
ASSIGN^PRIEXT, this 
operation sets only the 
default values; it comes 
into effect only when a 
ASSIGN^PRIEXT is set.
<new-sec-
ext-
size>
<sec-ext-
size>
Closed
Table 14-2. SET^FILE Operations That Set Values (page 2 of 10)
operation 
Description of 
Operation Requested new-value  old-value 
State
of
File










