Guardian Programming Reference Summary for C

Guardian Programming Reference Summary for C522630-001
10-1
10
SET^FILE Operations
For additional information about the SET^FILE procedure call, refer to the Guardian
Procedure Calls Reference Manual.
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
ASSIGN^
BLOCK
BUFLEN or
ASSIGN^
BLOCK
LENGTH
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^ACCESS(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
ASSIGN^
OPEN
EXCLUSION
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-pri-
ext-size
pri-ext-
size
Closed