MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 7 371
Command Definitions (HP32208-HPLOACNMPROC)
HPFOPEN
expressions that are evaluated before
formaldesig
is parsed and
validated.
As the default, HPFOPEN creates a nameless file that can be read or written
to, but not saved. (The domain option of a nameless file must specify a new
file unless it is a device file.)
The following are examples of valid formal file designators:
&file/lock.group.account:node.dest.level&
&filename&
&!myfile&
&!afile/![FINFO("!afile",33)]&
The following are examples of invalid formal file designators:
"filename.group (missing delimiter ("))
file.group" ( 'f' is used as delimiter, missing at end)
(ASC) It is recommended that this
itemnum
,
item
pair be used for
asynchronous devices.
When you use HPFOPEN to open a file, you may use either
itemnum
=2 or
itemnum
=51; you cannot use both.
3/I32 Domain:
Passes a value indicating which file domain the system searches to locate
the file. A nameless disk file must always be a new file.
A device file (such as a tape drive, terminal, spooled printer or
hot
printer)
always resides in the system file domain (permanent file directory).
Always specify a device file as old or permanent.
The following values are valid:
0 The file is a new temporary file. It is not placed in a
directory.
1 The file is a permanent file, found in the system file
domain.
2 The file is a temporary file, found in the job file domain.
3 The file is an old (permanent or temporary) file. The job
file domain is searched first. If the file is not found, the
system file domain is searched.
4 The file is created, placed in the permanent file directory,
and becomes a permanent file.
Hierarchical directories must be created in the permanent file domain by
specifying the create file domain (4).
Default: 0
5/I32 Designator: