Basic Services Direct Commands

Note:
AOS Security functions cannot be executed with direct commands, nor can direct commands be issued from AOS Security panels and menus.

The Adabas Online System provides direct commands for performing most of the functions performed by the menus. This makes it possible to execute virtually any menu function without having to exit from your current function. The direct commands for each service can be entered only from within that service.

After a function invoked by a direct command has been executed, the menu from which it can be invoked by a normal function code is displayed with either an error message or a message indicating successful execution.

In all but one case, the direct command syntax includes the command keyword followed by a keyword specifying the type of command operation. The exception, the REOPEN command, omits the second keyword.

The second keyword is in many cases followed by one or more variables that must be replaced with appropriate values; there are no defaults. For example, the Basic Services direct command to uncouple files 1 and 8 is:

UNCOUPLE FILES 1 8

where the variable file-number-1 has been replaced by the value "1" and the variable file-number-2 has been replaced by the value "8".

All direct commands can be abbreviated, but abbreviations must be unique. Recommended abbreviations are shown underlined in uppercase. For example, the previous Basic Services uncouple files command can also be entered as:

UNC FIL 1 8

The full name of the command is included for clarity but need not be entered as part of the command.

The following table lists the Adabas Online System Basic Services direct commands:

Command Secondary Keyword Variables
ADd ASso
DAta
FIEld


file-number
ALlocate FILE
SPace
file-number
file-number
CALCulate ASso
DAta
DDfilea
SOrt
TEmp
WoRK
 
CATch RSP-code (and subcode) --
CHange FIEld
PRIority
PROfile
file-number field-name
user-id
DEAlocate FILE
SPace
file-number
file-number
DECrease ASso
DAta
--
DEFine FDt
FILE
SDt

file-number
file-number
DELete CHeckpoints
ETid
FILE


file-number
DIsplay ADainfo
CHeckpoints
CLUsterstatus
CMdusage
CQ (Command Queue)
CRITFiles
DB-layout
DIb
ETid
FDt
FILE
FILEs
FILUsage
HQ (Hold Queue)
HWM (High-Water Mark)
IDt
LWpusage
PARAmeters
PARMs
PLOGSTatus
PROCess
RAbn
SYstemstatus
THreadusage
UNused
UQ (User Queue)
VOlsertab
WOrkstatus









file-number
file-number

file-number
FOrce CLOgswitch
PLOGSWitch
--
INCrease AS so
DA ta
--
LOck FILE
FILEs
file-number
MANage PROCess  
MOdify FILE
PARAmeters
PARMs
file-number
ONLine INVert
REORder
file-number
file-number
REAd STATistics --
RECover SPace --
REFresh FILE file-number
RELease DEScriptor file-number descriptor-name
RENAme FILE file-number
RENUmber FILE file-number
REOpen -- database-id
RESEt DIb
ONLstatus
UTility-abend

online-dump-status
REUse DAta
ISns
file-number
file-number
STArt STATistics --
STOp USers --
TErminate SEssion --
UNCouple FILEs file-number-1 file-number-2
UNLock FILE file-number