A SERVICE OF

logo

240 Chapter 4
Command Definition F-K
FILE
The density value from a file equation takes precedence over the density
specified in FOPEN or HPFOPEN. The supported densities are 800, 1600, and
6250. For details on the operation of density selection, refer to the FOPEN
and HPFOPEN intrinsics in the MPE/iX Intrinsics Reference Manual
(32650-90028).
numrec Maximum number of logical records, for new files only. For fixed-length
and undefined-length files, the maximum value allowed for this field is
2,147,483,647. Default is 1023.
NOTE The file system uses these values to compute other characteristics of the file
as well. Therefore, the values (or default values) specified in the FILE
command may be valid within their respective fields, but may cause overflow
errors in the computation of internally needed file specifications.
numextents Maximum number of disk extents. This is a value from 1 to 32.
initialloc Number of extents to be initially allocated to the file at the time it is
opened. This is a value from 1 to 32. Default is 0.
filecode Code indicating a specially formatted file. This code is recorded in the file
label and is available to processes accessing the file through the FGETINFO
or FLABELINFO intrinsic. For this parameter, any user can specify a
positive integer ranging from 0 to 32,767 or a mnemonic name. Certain
integers and mnemonics have been reserved for particular
Hewlett-Packard defined meanings. Default is the unreserved file code of
0.
RIO or NORIO Creates a relative or nonrelative I/O file. RIO creates a relative I/O file.
The record length parameter is implicitly changed to fixed-length record.
RIO is a special file access method primarily intended for use by COBOLII
programs; however, you can access these files by programs written in any
language. NORIO creates a nonrelative I/O file. Default is NORIO.
RIO and NORIO specifications affect only the physical characteristics of the
file. If NOBUF is specified in the FILE command, the file is accessed in
non-RIO mode; otherwise, RIO access is used with RIO files. NOBUF access
is provided for special operations on RIO files such as replicating a RIO file.
NOBUF is not normally used by the RIO user. Refer to the MPE/iX
Intrinsics Reference Manual (32650-90028) for a discussion of relative I/O.
STD, MSG, CIR, KSAMXL, or SPOOL Defines the type of file. The default is STD (standard
MPE/iX disk file).
MSG (message file) allows communication between any set of processes.
MSG acts like a FIFO (first in, first out) queue, where records are read from
the start of the file and logically deleted and/or are appended to the end of
file.
CIR (circular file) acts as normal sequential file until full. When full, the
first physical block is deleted when the next record is written, and
remaining blocks are logically shifted to front of file. CIR cannot be
simultaneously accessed by readers and writers.