Communicator e3000 MPE/iX Release 6.5 (Non-Platform Software Release C.65.00 (30216-90291)

Chapter 3 41
Growth Solution
MPE/iX Large Files Overview
OPTIONS Enhancement
As a side effect of adding support for the KSAM64 file type, a new file type value, 7, has
been allocated for KSAM64 files. The foptions structure is a 16-bit value made up of
various bit fields. Several intrinsics accept or return foptions including FOPEN,
FFILEINFO, FLABELINFO, and FGETINFO. The definitions of the foptions are:
0:1 Reserved
1:1 Record format extension bit
2:3 File Type
5:1 File Equations disallowed
6:1 Labeled tape
7:1 Carriage control
8:2 Record format
10:3 Designator type
13:1 Binary/ASCII
14:2 File domain
The addition of KSAM64 support in no way alters the format of the
foptions
structure.
Rather, a previously undefined value in the file type field, 7, is now defined. The list of
defined file types which can be returned in the
foptions
is:
0 Ordinary file type
1 CM KSAM
2 RIO
3 KSAMXL
4 CIR
5 SPOOL
6 MSG
7 KSAM64
In general, the definition of this previously undefined value will not cause any
compatibility issues for programs. The only time that issues could arise is if code
performed some type of validity check on the file type field of the foptions. In the case that
user code is checking and rejecting a value of 7 in the file type field, the workaround would
be to eliminate this check, or add 7 to the list of valid values.
Command Interpreter Changes
Although the impact of Large Files is negligible on most CI commands, there are several
minor enhancements to a few commands. All CI commands work on Large Files in the
exact same manner as they do for normal sized files. RENAME still renames Large Files,
PURGE still purges them, and so on. The commands documented in this section have been
enhanced to support some Large File features.