Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)

260 Chapter9
Intrinsics Reference (cont)
HPFOPEN
Passes a value indicating the file domain. HPFOPEN
assumes that all devicefiles are PERMANENT files.
However, to maintain compatibility with MPE V/E,
devicefiles can be opened with the
domain option
set
to NEW, but a warning message is returned in the
status parameter.
0 The file is a NEW TEMPORARY file.
1 The file is a PERMANENT file.
2 The file is a TEMPORARY file.
3 The file is an OLD PERMANENT or
TEMPORARY file.
4 The file is a NEW PERMANENT file.
Item# = 5 designator option (I32
)
Passes a value indicating a special file opening. Note
that special files can also be specified through the
formaldesignator option
(Item# = 2). You should
select $STDIN (4), $STDINX (5) or $STDLIST (1)
for terminals, $STDLIST (1) for printers.
0 Allows all other options to specify the
file.
1 The actual file designator is $STDLIST.
2 The actual file designator is $NEWPASS.
3 The actual file designator is $OLDPASS.
4 The actual file designator is $STDIN.
5 The actual file designator is $STDINX.
6 The actual file designator is $NULL.
Item# = 6 record format option (I32)
Passes a value indicating the format in which the
records in the file are recorded. This field is ignored
when a file is opened on a terminal, since records of
files on terminals are always of undefined length.
However, if you anticipate the need to redirect the file
to tape or disk, you may want to set this value to 0,
which specifies “fixed-length”.
0 Fixed-length records.
1 Variable-length records.
2 Undefined-length records (no implied
record structure).