Version 4.4.1
 —  Field Reference  —

Adabas Control Block Fields (CB)

Fields in this category are derived from the Adabas control block (ACB). Refer to the Adabas Command Reference Documentation for more information.

Field Description
ACBUSER This field, comprising the last four bytes of the ACB, contains user data that is passed with the Adabas call. It is referred to as the user area field in the ACB, and is neither used nor modified by Adabas.
ADDIT1 Corresponds to the ACB field additions 1. The command to be executed determines whether this field is used and what the contents represent.
ADDIT2 Corresponds to the ACB field additions 2. The command to be executed determines whether this field is used and what the contents represent.
ADDIT3 Corresponds to the ACB field additions 3. The command to be executed determines whether this field is used and what the contents represent.
ADDIT4 Corresponds to the ACB field additions 4. The command to be executed determines whether this field is used and what the contents represent.
ADDIT5 Corresponds to the ACB field additions 5. The command to be executed determines whether this field is used and what the contents represent.
CID Corresponds to the ACB field command ID. This field serves important functions during command execution, which are determined by the command. For example, during a sequential read, the command ID is used to return the records to the user in the proper sequence.
CMD Corresponds to the ACB field command code.
CMDNAME A translation of the 2-byte Adabas command code to a 14-byte string. For example, the command code BT is translated to "Backout Trans".
CMDSTAT Contains the Adabas internal status for an Adabas command. For example, the Adabas command L3 has an internal status of SIMPLE and S1 has an internal status of COMPLEX.
CMPRECL Contains the compressed record length of the record returned by a READ or a FIND command.
COMMANDS The number of Adabas commands processed for the control break.
COP1 Corresponds to the ACB field command option 1. The contents of this field is determined by the command being issued.
COP2 Corresponds to the ACB field command option 2. The contents of this field is determined by the command being issued.
DBID The unique Adabas database identification number.
ERRFLDNM Error field name. Contains the Adabas 2-character name for a field that has been found to be in error in the Adabas format or search buffer.
FILE Corresponds to the ACB field file number. The function of this field is determined by the Adabas command being issued.
GLOBFMID Contains the global internal format buffer ID for the Adabas call within a sequence of Adabas calls. This field is derived from ADDIT5 field.
ISN Corresponds to the ACB field ISN. The use of this field is determined by the command being issued.
ISNLL Corresponds to the ACB field ISN lower limit. The field contains the lowest ISN that Adabas returns when retrieving ISN lists. The use of this field is determined by the command being issued.

Note:
This field could be misinterpreted when used at the OP command, since the value of ISNLL as well as ISNQ are used for puposes other than the ISN lower limit or ISN quantity. Please refer to the Adabas Command Reference manual for further information.

ISNQ Corresponds to a modification of the ACB field ISN quantity. The field is modified based on command type, and is suitable for performing mathematical calculations such as SUM and AVERAGE. The unmodified data can be found in the ORGISNQ field.

Note:
:This field could be misinterpreted when used at the OP command, since the value of ISNQ as well as ISNLL are used for puposes other than the ISN lower limit or ISN quantity. Please refer to the Adabas Command Reference manual for further information.

RESPONSE
RSP
Corresponds to the ACB field response code. A response code of 0 indicates that the command executed successfully.
RSPSUB Contains the Adabas response code subcode from the ACB field additions 2 for certain nonzero Adabas response codes.
UCMPRECL Uncompressed record length. The uncompressed length of the Adabas format or search buffer field.

Top of page