MPE/iX Intrinsics Reference Manual (32650-90875)

372 Chapter7
Command Definitions (HP32208-HPLOACNMPROC)
HPFOPEN
Passes a value indicating a special file opening. Any of the following
special files can be specified with the
itemnum
=2. For example, a file name
of $STDLIST opens the standard list device. The following values are valid:
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.
Default: 0
For example, if MYFILE is passed in
itemnum
=2, then using
itemnum
=5 and
item
=4 to equate it with $STDIN is equivalent to the file equation FILE
MYFILE=$STDIN.
This option is not equated with
itemnum
=2 if both of the following
conditions are true:
The
itemnum
=9 option allows file equations for the file opening.
An explicit or implicit FILE command equating the formal file
designator to a different actual file designator occurs in the job/session.
A leading * in a formal file designator passed by
itemnum
=2 overrides an
itemnum
=9 option.
6/I32 Record format:
Passes a value indicating the internal record structure desired for the file.
This option is applicable only at file creation.
The following values are valid for records:
0 Fixed-length
1 Variable-length
2 Undefined-length (no implied structure)
9 Byte stream
10 Hierarchical directory
Default: 0
Byte stream record format may be specified only for standard disk files
(
itemnum
10 equal to 0). Hierarchical directory record format is the the
default record format when creatinng a directory (
itemnum
10 equal to 9).
Itemnum
10 equal to 9 is the only record format which may be specified
when creating a directory. Hierarchical record format is only specified for
the directory file type. Record formats not implemented for the specified
file type are ignored. Byte stream and hierarchical directory record