MPE/iX Commands Reference Manual (32650-90877)
Chapter 3 97
Command List I
Commands ABORT to BYE
The characteristics of a file created with the SPOOL keyword are:
• variable length records of 1008 bytes each
• a blocking factor of 1
• ASCII format
• permanent file
• record limit of 1023
• undefined maximum number of extents with 0 extents initially
allocated
KSAM64 specifies a KSAM file that is capable of holding more than 4GB of
data. KSAM64 files are compatible in every other way with KSAM XL
files. All options that apply to KSAM XL files also apply to KSAM64 files.
These characteristics override any other characteristics, such as binary
format, which may be specified.
numlabels
The number of user label records to be created for the new file. Up to 255
labels can be specified. This parameter applies to any type of file.
^filereference or keyinfo filereference
is a file containing key information. This
parameter only applies to new KSAM files; it is required for new KSAM
files. The caret (^) indicates that the contents of the file will be used.
keyinfo
has the following format:
;KEY=
(
keytype,keylocation,keysize
[,DUP|RDUP];
.
.
keytype,keylocation,keysize
[,DUP|RDUP])
One key specification (
keytype, keylocation, keysize
[,DUP|RDUP]
must be included for each key in the KSAM file. The first occurrence of the
key specification describes the primary key; each subsequent key
specification describes an alternate key. There may be up to 15 alternate
key specifications in addition to the primary key description.
keytype
KSAM key type, specified as BYTE, INTEGER, REAL, IEEEREAL,
NUMERIC, PACKED, OR *PACKED. Specify the whole word or only the
first letter; valid abbreviations are B, I, R, E, N, P, and *. If more than one
letter is specified, the word must be spelled correctly.
keylocation
Location of the first byte of the key within the data record counting from
the first byte in the record. The first byte in the data record is always
numbered 1. Only one key can start at the same location. This parameter
applies only to KSAM files.
keysize
Length of the KSAM key in bytes. The length depends on
keytype
as
follows:
BYTE 1 to 255 bytes