MPE/iX Intrinsics Reference Manual (32650-90875)
228 Chapter6
Command Definitions (FLUSHLOG-GETUSERMODE)
FOPEN
when you issue a direct-write intrinsic call (FWRITEDIR) to a record that
lies beyond the current logical end-of-file indicator. By default, magnetic
tape and files are treated as ASCII files. This option is applicable only at
file creation.
The following bit settings are valid:
0 Binary file
1 ASCII file
(ASC) Not valid for asynchronous device files.
Default: 0
Bits Value/Meaning
10.3 Designator
Passes a value indicating a special file opening. Any of the following
special files can be specified with the formaldesig parameter. For example,
a file name of $STDLIST opens standard list.
The following bit settings are valid:
000 The actual file designator is the same as the formal file
designator.
001 The actual file designator is $STDLIST.
010 The actual file designator is $NEWPASS.
011 The actual file designator is $OLDPASS.
100 The actual file designator is $STDIN.
101 The actual file designator is $STDINX.
110 The actual file designator is $NULL.
Default: 000
For example, if you pass MYFILE in the
formaldesig
parameter, then
using the designator option to equate it with $STDIN is equivalent to
allowing the file equation FILE MYFILE=$STDIN.
The designator option is not equated with the
formaldesig
parameter if
both of the following conditions are true:
• The disallow file equation option
foption
bit (5:1) allows file equations
for this 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 the
formaldesig
parameter overrides the disallow file equation option setting.
Bits Value/Meaning