ENABLE Reference Manual
THE GENERAL SERVER
Context Buffer
An open operation sets this field to the expected value of
RECORD-AREA-LENGTH. If the requester sets this field to zero
subsequent to the open operation, the General Server uses and
returns the expected value. The expected value for this field is
the value of RECORD-LENGTH if RECORD-LENGTH is an even number or
RECORD-LENGTH + 1 if RECORD-LENGTH is an odd number. This area
could exceed the length of the record by one byte because
RECORD-IMAGE-2, the new record image, must always begin on a word
boundary.
LOGICAL-KEY-LENGTH Field
This code applies to a READ operation (code 1) with a
FUNCTION-CODE equal to AG. For each READ, the requester must set
this field to the byte length of the portion of the supplied key
value to be used for the READ APPROXIMATE. COMPARE-LENGTH
defines the generic portion of the full key that is used to
establish a new key set.
Context Buffer
The General Server uses the VERSION field of CONTEXT to carry
version information. If the requester supplies a version number
in the form of B00, for example, the General Server supplies the
capabilities of version B00. The requester must supply this
information with each request.
The buffer is also included for future extension of the interface
to servers that need to retain additional context information.
Variable Portion of the General Server Request
The variable portion of a General Server request consists of
zero, one, or two record images, depending on the transaction
code value in TRANS-CODE. Figure E-2 shows the variable portion
of a General Server request.
E-12