HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
Chapter 4 241
Command Definition F-K
FILE
KSAMXL specifies a native mode KSAM file (KSAM XL file).
SPOOL specifies an output spool file. No spooling attributes are initialized.
PRI is set to 8 and number of copies to 1. No output device is set.
This spool file will not be linked to the spool file directory (SPFDIR) and,
therefore, will not be printed unless it is subsequently linked to the
SPFDIR with the SPOOLF;PRINT command. At that time, the target
output device must be set according to the rules of that command. Use of
the SPOOL option forces the SAVE disposition, overriding any user-specified
disposition.
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
a record limit of 1023
undefined maximum number of extents, with 0 extents initially
allocated
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. You can
specify as many as 255 labels. This parameter applies to any type of file.
^filereference or keyinfo Information about KSAM XL key. keyinfo is the information,
^filereference is a file containing keyinfo; the caret (^) means the contents of
the file will be used.
Use the following format for keyinfo:
;KEY= (keyspec;keyspec...) Where: keyspec ::=
keytype,keylocation,keysize [ ,DUP ,RDUP ]
You must specify one keyspec for each key in the KSAM file. First, describe
the primary key, followed by as many as 15 subsequent keyspecs, each
describing an alternate key.
keytype KSAM key type, specified as BYTE, INTEGER, REAL, IEEEREAL,
NUMERIC PACKED, OR *PACKED. Specify with the whole word, or
initial: B, I, R, E, N, P, or *. If more than one is specified, spell the word out
correctly. See keysize parameter.
keylocation Location of the first byte of the KSAM 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 each location. This parameter
applies only to KSAM files.