Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (O)
Guardian Procedure Calls Reference Manual522629-013
11-34
OPEN^FILE Procedure
then a file code of 0 is used. (See “EDIT File
Considerations,” later.) The default extent sizes are 8
pages for the primary extent and 32 pages for the
secondary extent. The maximum number of extents is 500.
AUTO^TOF (%100D) Auto top of form; defaults to ON. If ON and the
file is a line printer or process that is open with write
access, a page eject is issued to the file within the
OPEN^FILE procedure.
BLOCKED (%400D) Nondisk blocking; defaults to OFF. A block buffer
of sufficient length must also be specified.
CRLF^BREAK (%40000D) Carriage return/line feed (CR/LF) on BREAK;
defaults to ON. If ON and BREAK is enabled, a CR/LF is
written to the terminal when BREAK is entered.
KEEP^LASTOPENTIME
(%400000D) Keep last open time; defaults to OFF. If ON
and open access to a disk file is read only, the “time of last
open” file attribute is not updated by this open. If OFF, the
“time of last open” file attribute is updated. This flag is
ignored if the file is not a disk file or if open access is not
read only.
LEVEL3^SPOOL^ENABLE
(%200000D) Enable level-3 spooling when writing to a
spooler collector; defaults to OFF. If ON, writing to the
spooler collector is buffered and a block buffer with a length
of at least 1024 bytes must be provided. If OFF or if the
other requirements for level-3 spooling are not met, one
record at a time is written to the spooler collector. See
“Level-3 Spooling Considerations,” later.
MUSTBENEW (%20D) File must be new; defaults to OFF. This flag
applies only if AUTO^CREATE is ON. If the file already
exists, error 10 is returned.
NOWAIT (%200D) Nowait I/O; defaults to OFF (wait I/O). If ON,
nowait I/O is in effect. If NOWAIT is specified in the open
flags of OPEN^FILE, then the nowait depth is 1. It is not
possible to use a nowait depth greater than 1 using SIO
procedures.
OLD^RECEIVE (%100000D) Receive C-series format system messages;
defaults to OFF. If ON, system messages read by the caller
from $RECEIVE are in C-series format. If OFF, system
messages read from $RECEIVE are in D-series format.
This flag is ignored for all files other than $RECEIVE. It is
also ignored if you are using a C-series format FCB; all
messages are then in C-series format.