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

65
8 Migration and Mixed Mode Processing
MPE/iX offers three KSAM file formats: CM KSAM, KSAM XL and KSAM64. CM KSAM is
the two-file KSAM structure used on MPE V/E systems.
KSAM XL and KSAM64, single-file KSAM structures, are used only on MPE/iX systems.
KSAM XL and KSAM64 files offer a more convenient single-file format.
Programs running in CM or NM can access any type of KSAM file. Use the FCOPY utility
to migrate data and rebuild indexes from one KSAM file format to another.
NOTE
RPG Programmers:
Record-level locking cannot be used for any type of KSAM file on MPE/iX.
Similarities in KSAM File Features
All three file formats allow multiple keys to access data records and duplicate key values
for specified keys. You can access records by various keys using constructs within the
programming language. You can also use KSAM intrinsics to access records in various
sequences.
Record retrieval can be by direct match of specific key value, by generic (or partial) key
value, or by approximate match. Access of data records by physical record location may or
may not match the primary key sequence, depending upon the order in which records were
initially loaded.