ENABLE Reference Manual

THE GENERAL SERVER
Usage-Dependent Fields
For INSERT operations, the value supplied can be any of the
following:
blank INSERT in the first available space
EX INSERT at the indicated record key position (relative
files only)
LA INSERT at the end of the file (relative files only)
FILE-NAME Field
This field applies to all transaction codes. For an open
operation, the requester must supply the 30-character logical
name of the data file to be opened. The requester need not
change this value for subsequent operations.
FILE-NUMBER Field
This field applies to all transaction codes. ENABLEGS returns
the identifying file number in this field after a successful
file-open transaction. File numbers are 0 through 31. The
requester should not change this value.
FILE-POSITION Field
This group applies to a READ operation (code 1), UPDATE operation
(code 2), and DELETE operation (code 3). The group contains the
file position value returned from the previous call to ENABLEGS
with the following exceptions:
READ EXACT by record key The requester must supply the value
on relative files and of the relative record number in the
entry-sequenced files RECORD-KEY field of FILE-POSITION.
READ EXACT by relative The requester must supply the
byte address on relative byte address in the
unstructured files RECORD-KEY field of FILE-POSITION.
The General Server returns the following to PRIOR-POSITION:
• The first two bytes contain the positioning mode for the key
specifier.
• The second two bytes contain the compare length.
E-10