Using KSAM/XL and KSAM 64 (32650-90886)

122 Chapter9
KSAM Intrinsics
FOPEN
allowed for KSAM files.
8:2 Record format
Bit settings indicate internal record structure for a file.
This option is applicable only at file creation.
KSAM XL/64 support fixed-length records only (00). The
file contains logical records of uniform length.
7:1 Carriage control
No carriage-control directive is expected for KSAM files.
5:1 Disallow file equation option
Indicates whether or not to allow file equations. A leading
* in a formal file designator can override the setting to
disallow FILE. The following bit settings are valid:
0
Allow FILE equations to override programmatic or
system-defined file specifications.
1
Disallow FILE equations from overriding programmatic or
system-defined file specifications.
Default: 0
2:3 File type option
Indicates internal record structure used to access records
in a file. KSAM XL files are identified by a setting of 011.
KSAM64 files are identified by a setting of 111.
0:2 Reserved for MPE/iX
aoption
16-bit unsigned integer by value (optional)
Specifies up to eight different file access options, as noted below, by setting
corresponding bit groupings:
Bits Value/Meaning
12:4 Access type
Indicates the type of access intended for the file. This
option restricts usage of file system intrinsics.
The following bit settings are valid:
0000
Allows read access only, provided that the file's security
provisions specify read access. FWRITE, FUPDATE, and
FREMOVE intrinsic calls cannot reference this file. The
end-of-file (EOF) is not changed.
0001