Version 6.3.1
 —  Command Reference  —

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:

../graphics/gr_b_sm.gif

A1 Command: Update Record Update record(s) (with hold option)

../graphics/gr_b_sm.gif

BT Command: Back Out Transaction Remove database updates for ET logic users

../graphics/gr_b_sm.gif

C1 Command: Write a Checkpoint Write checkpoint identifier, data protection log number and block number

../graphics/gr_b_sm.gif

C5 Command: Write User Data to Protection Log Write user data to PLOG

../graphics/gr_b_sm.gif

CL Command: Close User Session End/ET session and update database

../graphics/gr_b_sm.gif

E1 Command: Delete Record / Refresh File Delete record or refresh file

../graphics/gr_b_sm.gif

ET Command: End Transaction End and save current transaction

../graphics/gr_b_sm.gif

HI Command: Hold Record Prevent record update by other users

../graphics/gr_b_sm.gif

L1 / L4 Command: Read Record Read record of specified ISN
Read and hold option

../graphics/gr_b_sm.gif

L2 / L5 Command: Read Physical Sequential Read records in physical order
Read in physical order and hold option

../graphics/gr_b_sm.gif

L3 / L6 Command: Read Logical Sequential Read records in descriptor value order
Read in descriptor value order with hold option

../graphics/gr_b_sm.gif

L9 Command: Read Descriptor Values Read the values of a specified descriptor

../graphics/gr_b_sm.gif

LF Command: Read Field Definitions Read the characteristics of all fields in a file

../graphics/gr_b_sm.gif

MC Command: Multi-Call Reduce interprocess communications between an Adabas database and its application programs

../graphics/gr_b_sm.gif

N1 / N2 Command: Add Record Add new database record with ISN assigned by Adabas
Add new database record with user-assigned ISN

../graphics/gr_b_sm.gif

OP Command: Open User Session Open user session

../graphics/gr_b_sm.gif

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

../graphics/gr_b_sm.gif

RE Command: Read ET User Data Read ET data for this, another, or all users

../graphics/gr_b_sm.gif

RI Command: Release Record Release held record and ISN
Release all records currently held by user

../graphics/gr_b_sm.gif

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

../graphics/gr_b_sm.gif

S8 Command: Process ISN Lists Combine two ISN lists from the same file with an AND, OR, or NOT operation

../graphics/gr_b_sm.gif

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.

Top of page