Guardian Procedure Calls Reference Manual

Table 42 SET^FILE Operations That Set Values (continued)
State of Fileold-valuenew-valueDescription of Operation Requestedoperation
When set alone without ASSIGN^PRIEXT,
this operation sets only the default values;
it comes into effect only when a
ASSIGN^PRIEXT is set.
Closedmust be
omitted
must be
omitted
Specifies that the file FCB be initialized.
This operation is not used when the
INIT^FILEFCB
INITIALIZER procedure is called to
initialize the FCBs. It is valid only for
C-series format FCBs. For example:
CALL SET^FILE (common^fcb,
INIT^FILEFCB);
CALL SET^FILE (in^file,INIT^FILEFCB);
Closedmust be
omitted
must be
omitted
Specifies that the file FCB be initialized.
This operation is not used when the
INIT^FILEFCB^D00
INITIALIZER procedure is called to
initialize the FCB. It is valid only for
D-series format FCBs. For example:
CALL SET^FILE (common^fcb,
INIT^FILEFCB^D00);
CALL SET^FILE (in^file,
INIT^FILEFCB^D00);
Openstatenew-stateSets or clears abort-on-transfer error for
the file. If on, and a fatal error occurs
SET^ABORT^XFERERR
during a data-transfer operation (such as
a call to any SIO procedure except
OPEN^FILE), all files are closed and the
process abnormally ends. If off, the
file-system or SIO procedure error number
returns to the caller.
Anystatenew-stateSets or clears break hit for the file. This is
used only if the user is handling BREAK
SET^BREAKHIT
independently of the SIO procedures, or
if the user has requested BREAK system
messages through
SET^SYSTEMMESSAGES or
SET^SYSTEMMESSAGESMANY.
Anychecksum-word-in-fcbnew-checksum-wordSets or clears the checksum word in the
FCB. This is useful after modifying an FCB
SET^CHECKSUM
directly (that is, without using the SIO
procedures).
Opencountnew-countSets the physical I/O count, in bytes,
transferred for the file. This is used only if
SET^COUNTXFERRED
nowait I/O is in effect and the user is
making the call to AWAITIO for the file.
This value is the count-transferred
parameter value returned from AWAITIO.
Openstatenew-stateSets or clears carriage return/line feed
(CR/LF) on BREAK for the file. If on, a
SET^CRLF^BREAK
CR/LF is executed on the terminal when
the BREAK key is pressed.
Openincrementnew-
increment
Specifies the EDIT line increment to be
added to successive line numbers for lines
that will be added to the file. The value
SET^EDITLINE^INCREMENT
must be specified as 1000 times the line
number increment value. The default value
SET^FILE Procedure 1307