Commands

This document provides a detailed description of each Adabas command arranged in alphabetical order by command code.

The information is organized under the following headings:

Command Code Summary Description
A1 Update record Update record(s) (hold option)
BT Backout transaction Remove database updates for ET logic users
C1 Write checkpoint Write command ID, PLOG, RABN RABN checkpoint, buffer flush option
C3 Write SYNX-03 checkpoint Write SYNX-03 checkpoint for exclusive control update users; option to store user data
C5 Write user data to protection log Write user data on SIBA/PLOG
CL Close user session End ET session and update database
E1 Delete record / refresh file Delete record (hold option) or refresh file
ET End transaction End and save current transaction
HI Hold record Prevent record update by other users
L1 Read record Read record of specified ISN
L2 Read physical sequential record Read records in physical order
L3 Read logical sequential record Read records in descriptor value order
L4 Read and hold record Read record and hold, "wait for held record/issue return code" option
L5 Read physical sequential record and hold Read records in physical order and hold, "wait/issue return code" option
L6 Read logical sequential record and hold Read records in descriptor value order with "wait/issue return code" option
L9 Read descriptor values Read the values of a specified descriptor
LF Read field definition Read the characteristics of all fields in a file
N1 Add record with Adabas-assigned ISN Add new database record with ISN assigned by Adabas
N2 Add record with user-assigned ISN Add new database record with user-assigned ISN
OP Open user session Open user session
RC Release command ID or global format ID Release one or more command IDs or a global format ID for the issuing user
RE Read ET user data Read ET data for this, another, or all users
RI Release held record and ISN Release held record and ISN
S1 Find records Return count and ISNs of records satisfying the search criterion
S2 Find records in user-specified order Return count of records and ISNs in user-specified order
S4 Find records and hold Return count and ISNs of records satisfying the search criterion and put first ISN in list on hold
S5 Find coupled ISNs Return or save a list of coupled ISNs for the specified file
S8 Process ISN lists Combine two ISN lists from the same file with an AND, OR, or NOT operation
S9 Sort ISN lists Sort ISN list in ascending ISN or descriptor-specified sequence

Adabas includes some V* and Y* commands, which you may see mentioned in Adabas shutdown statistics or in Adabas Online System (AOS) screens. These commands are used internally by Adabas and Adabas add-on products and should not be used in direct calls in your applications. Should you use them, errors will result.