Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)
Chapter 9 243
Intrinsics Reference (cont)
FOPEN
the control character to be embedded as the first byte of
the record. Thus, the first byte of each record in such a
spooled file contains control information. Carriage
control characters sent to other types of files are sent to
the driver and acted upon directly.
If CCTL is not specified, only single spacing will be
available to this file.
Bit (6:1)—MPE/iX tape label
foption
.
Meaningless for asynchronous devices, but may be set if
file redirection is anticipated.
=0 Nonlabeled tape.
=1 Labeled tape.
Bits (5:1)—Disallow :FILE equation
foption
.
If this bit is set to 1, any :FILE equation intended to
override the specifications set through the FOPEN call
will be ignored. Note that a leading * in a formal file
designator effectively overrides the disallow file
equation
foption
.
=0 Allow :FILE command.
=1 Disallow :FILE command.
Bits (2:3)—File type
foption
.
Set to 000 (standard file) for asynchronous devicefiles.
=000 Standard file (STD).
=001 Keyed Sequential Access Method file
(KSAM).
=010 Relative I/O file (RIO).
=100 Circular file (CIR).
=110 Message file (MSG).
Bits (0:2)—Reserved for MPE/iX. These should be set
to 0.
aoptions 16-bit unsigned integer by reference
(optional)
You can specify up to seven different file access options
by setting corresponding bit groupings in
aoptions
.
The correspondence is from right to left, beginning with
bit 15. These access options are described below,
proceeding from the rightmost bit groups to the
leftmost bit groups in the word.