- Item# = 19
record size option (I32)
Passes the size, in bytes, of the logical records in the file.
This value indicates the maximum logical record length allowed if
the records in the file are of variable length.
For terminal and printer files, no rounding up occurs if you
specify a record size consisting of an odd number of bytes. The
record size may be different from that configured for the port.
The default value is the configured record size (normally 40 words
for terminals, 66 words for printers).
- Item# = 20
device name option (CA)
Passes the logical device number, in ASCII form, of a specific
device. The device specified should be ready prior to the HPFOPEN
call or an error will result. You can obtain the logical device
number through the FFILEINFO intrinsic. Note that all character
arrays must start on a halfword boundary.
Only one of the following options can be in effect when a
file is opened: device name option (Item# = 20),
volume class option (Item# = 22),
volume name option (Item# = 23),
device class option (Item# = 42).
The last itemnum specified takes precedence over all previously
specified itemnums from this group. Any
duplication is flagged as a warning.
- Item# = 21
long mapped option (@64)
Not meaningful for asynchronous devices.
- Item# = 22
volume class option (CA)
Not meaningful for asynchronous devices.
- Item# = 23
volume name option (CA)
Not meaningful for asynchronous devices.
- Item# = 24
density option (I32)
Not meaningful for asynchronous devices.
- Item# = 25
printer environment option (CA)
Passes the name of a file that contains a printer environment.
This option is valid only for certain printer devices. Note that
all character arrays must start on a halfword boundary.
- Item# = 26
remote environment option (CA)
Passes the node name of the remote computer where the file
is located. This option is used when you are referencing a file
located on a remote computer. Note that all character arrays must
start on a halfword boundary.
- Item# = 27
output priority option (I32)
Passes the output priority to be attached to the file for
spooled output. This priority is used to determine the order in
which files are output when several are waiting for the same device.
Accepted values are between 1 (lowest
priority) and 13 (highest priority)
inclusive. If this value is less than the current OUTFENCE set by
the System Operator, file output is deferred until the operator
raises the output priority of the file or lowers the OUTFENCE. You
can specify priority for a file already opened (for example, $STDLIST),
in which case the highest value supplied before the last FCLOSE
takes effect. This parameter is ignored for nonspooled devices.
The default priority is 8.
- Item# = 28
spooled message option (CA)
Passes a spooler message that is associated with a spool file.
For example, you can pass a message that you can use for such purposes
as telling the System Operator what type of paper to use in the
line printer. This message must be displayed to the System Operator
and verified before the file can be printed on a line printer. The
maximum number of characters allowed is 48. An array of more than
48 elements is truncated by MPE/iX. Note that all character arrays
must start on a halfword boundary.
- Item# = 29
privileged access option (I32)
Passes a value that temporarily restricts access to the file
number returned from HPFOPEN to a calling process whose execution
level is equal to or less than the value specified in this option.
This restriction lasts until you close the file associated with
the restricted file number. You cannot specify a value less than
the execution level of the calling process.
- 0
Privilege level zero (most privileged level).
- 1
Privilege level one.
- 2
Privilege level two
- 3
Privilege level three (least privileged level).
- Item# = 30
labeled tape type option (I32)
Not meaningful for asynchronous devices.
- Item# = 31
labeled tape expiration option (CA)
Not meaningful for asynchronous devices.
- Item# = 32
labeled tape sequence option (CA)
Not meaningful for asynchronous devices.
- Item# = 33
user labels option (I32)
Not meaningful for asynchronous devices.
- Item# = 34
spooler copies option (I32)
Passes a non-negative value indicating the number of copies
of the entire file to be produced by the spooling facility. This
option is applicable to spooled devices only. You can specify this
option for a file already opened (for example, $STDLIST)
in which case the highest value supplied before the last FCLOSE
takes effect. The copies do not appear contiguously if the System
Operator intervenes or if a file of higher output priority becomes
READY before the last copy is complete. This option is ignored for
nonspooled output devices. The default is to print 1 copy.
- Item# = 35
filesize option (I32)
Not meaningful for asynchronous devices.
- Item# = 36
initial allocation option (I32)
Not meaningful for asynchronous devices.
- Item# = 37
filecode option (I32)
Not meaningful for asynchronous devices.
- Item# = 38
file privilege option (I32)
Passes a value that determines a permanent privilege level
to be associated with a newly created file. This option permanently
restricts file access to a process whose execution level is less
than or equal to the specified value. You cannot specify a value
less than the execution level of the calling process. This option
is applicable only at file creation.
- 0
Privilege level zero (most privileged level).
- 1
Privilege level one.
- 2
Privilege level two.
- 3
Privilege level three (least privileged level).
- Item# = 39
will access option (I32)
Not meaningful for asynchronous devices.
- Item# = 40
block factor option (I32)
Not meaningful for asynchronous devices.
- Item# = 42
device class option (CA)
Passes a device class name which is used by the file system
to select a nonsharable device from a configured list of available
devices within that device class. The name can have a length of
up to eight alphanumeric characters, beginning with a letter. If
you specify a device class, the file is allocated to any available
device in that class. Note that all character arrays must start
on a halfword boundary.
Only one of the following options can be in effect when a
file is opened: device name option (Item#
= 20), volume class option (Item# = 22),
volume name option (Item# = 23), device class option
(Item# = 42). The last itemnum
specified takes precedence over all previously specified itemnums
from this group. Any duplication is flagged as a warning.
- Item# = 43
UFID option (record)
Not meaningful for asynchronous devices.
- Item# = 44
numbuffers option (I32)
Not meaningful for asynchronous devices. Data transfers to
and from terminals and printers are always unbuffered.
- Item# = 45
fill character option (CA)
Passes two ASCII characters that determine what padding character
you wish to use at the end of blocks or unused pages. You must not
use delimiter characters for this option. The fill character must
be a two-byte array. The first character only is used as the padding
character. The second character is reserved for future use. This
option is applicable only at file creation. The default is the ASCII
null character. Note that all character arrays must start on a halfword
boundary.
- Item# = 46
inhibit buffering option (I32)
Not meaningful for asynchronous devices.
- Item# = 47
numextents option (I32)
Not meaningful for asynchronous devices.
- Item# = 48
reverse VT option (I32)
Passes a value that indicates whether or not the given device
name is to be allocated on a remote machine. You must specify the
remote environment in the same open request, using either the formaldesignator
option or the remote environment option.
Reverse VT behaves nearly the same as a terminal opened through
remote file access, except that no session is required on the remote
machine.
- 0
No reverse VT.
- 1
Reverse VT.
- Item# = 49
Reserved for MPE/iX.
- Item# = 50
final disposition option (I32)
Not meaningful for asynchronous devices.
- Item# = 51
Pascal/iX string option (Pascal/iX STRING type)
Passes a formal file designator, following MPE/iX file naming
conventions, but using the Pascal/iX STRING type format. This option
is identical to formaldesignator option
(Item# = 2) except for the type of the item. No delimiters are needed.
- Item# = 52
file equation string option (CA)
Passes a character string that matches the MPE/iX file equation
specification syntax exactly. This enables you to specify the options
available in the :FILE command. Note that all
character arrays must start on a halfword boundary.
- Item# = 53
ASCII/binary option (I32)
Ignored for asynchronous devices. All files not on disk are
treated as ASCII files. Use FCONTROL(27) to enable the transfer
of binary data. Set to 1.
- 0
Binary file.
- 1
ASCII file.
- Item# = 54
KSAM parm option (REC)
Not meaningful for asynchronous devices.
- Item# = 55
Reserved for MPE/iX.
- Item# = 56
object class option (I32)
Passes a user object class number, in the range 0..10, that
is associated with the file.
- Item# = 57
Reserved for MPE/iX.
- Item# = 58
Reserved for MPE/iX.
- Item# = 59
Reserved for MPE/iX.
- Item# = 60
Reserved for MPE/iX.
- Item# = 61
Reserved for MPE/iX.