ADABAS COMMANDS

This document contains a detailed description of each Adabas command. The commands are presented in alphabetical order for ease of reference.

The user is referred to the Adabas Messages and Codes for an explanation of all response codes which may result from Adabas commands.

The information is organized under the following headings:

A1 Command: Update Record Update record(s) (with hold option)
BT Command: Back Out Transaction Remove database updates for ET logic users
C1 Command: Write a Checkpoint Write checkpoint identifier, data protection log number and block number
C5 Command: Write User Data to Protection Log Write user data to PLOG
CL Command: Close User Session End/ET session and update database
E1 Command: Delete Record / Refresh File Delete record or refresh file
ET Command: End Transaction End and save current transaction
HI Command: Hold Record Prevent record update by other users
L1 / L4 Command: Read Record Read record of specified ISN
Read and hold option
L2 / L5 Command: Read Physical Sequential Read records in physical order
Read in physical order and hold option
L3 / L6 Command: Read Logical Sequential Read records in descriptor value order
Read in descriptor value order with hold option
L9 Command: Read Descriptor Values Read the values of a specified descriptor
LF Command: Read Field Definitions Read the characteristics of all fields in a file
MC Command: Multi-Call Reduce interprocess communications between an Adabas database and its application programs
N1 / N2 Command: Add Record Add new database record with ISN assigned by Adabas
Add new database record with user-assigned ISN
OP Command: Open User Session Open user session
RC Command: Release Command ID or Global Format Buffer ID Release one or more command IDs or a global format buffer ID for the issuing user
RE Command: Read ET User Data Read ET data for this, another, or all users
RI Command: Release Record Release held record and ISN
Release all records currently held by user
S1 / S2 / S4 Command: Find Records Return count and ISNs of records satisfying the search criterion
Return count of records and ISNs in user-specified order
S8 Command: Process ISN Lists Combine two ISN lists from the same file with an AND, OR, or NOT operation
S9 Command: Sort ISN List Sort ISN list in ascending ISN or descriptor-specified sequence

Please note that only those control block fields relevant to the command in question are shown in the control block. Also, in order to be compatible with new versions of Adabas, Software AG strongly recommends that you set all unused control block fields to their default values.

If errors occur while using the ACBX interface, Adabas may return additional information in the ACBXERRx fields, although this is not documented in the command documentation. Please refer to the Nucleus Response Codes in Messages and Codes for more information about this additional information.

If an Adabas call using the ACBX interface is made that requires buffer specifications, Adabas buffer descriptions (ABDs) must be used instead of the ACB fields for format buffer length, record buffer length, search buffer length, value buffer length and ISN buffer length.