The table below summarizes the purpose of each process command. The commands are categorized according to the activities they perform.
|
Category |
Keywords |
Purpose |
|---|---|---|
|
Arithmetic and assignment commands |
ADD |
Calculates the sum of two values |
|
|
COMPUTE |
Evaluates an arithmetic expression |
|
|
DIVIDE |
Calculates the quotient of two values |
|
|
MOVE |
Moves a value to a target field |
|
|
MULTIPLY |
Calculates the product of two values |
|
|
SUBTRACT |
Calculates the difference between two values |
|
Conditional commands |
EXIT |
Terminates a WHILE command |
|
|
IF |
Performs conditional execution |
|
|
NEXT |
Terminates an IF command |
|
|
WHILE |
Iterates a loop based on a condition |
|
Control commands |
CONTINUE |
Terminates a current process and executes a dialog's premap process |
|
|
DISPLAY |
Displays a dialog's map or reexecutes a dialog's premap process |
|
|
EXECUTE NEXT FUNCTION |
Directs the flow of control in an application defined by the application compiler |
|
|
INVOKE |
Passes control to a lower level dialog |
|
|
LEAVE |
Terminates an CA ADS application |
|
|
LINK |
Passes control to a lower level dialog or to a user program with inline return expected |
|
|
READ TRANSACTION |
Terminates a current process, performs a mapin operation, and selects the next function or response process to be executed |
|
|
RETURN |
Returns control to a higher level dialog |
|
|
TRANSER |
Passes control to a dialog at the same level |
|
|
WRITE TRANSACTION |
Terminates a current process, performs a mapout operation, and passes control within an application (batch only) |
|
Database commands |
ACCEPT |
Retrieves database keys page group information and database access statistics for navigationally accessed records |
|
|
BIND PROCEDURE |
Establishes communication between a dialog and a DBA-written procedure |
|
|
COMMIT |
Writes checkpoints to the journal file and releases record locks for navigationally accessed records |
|
|
CONNECT |
Connects records in navigationally accessed sets |
|
|
DISCONNECT |
Disconnects records from navigationally accessed sets |
|
|
ERASE |
Erases database records |
|
|
FIND |
Locates navigationally accessed records in the database |
|
|
GET |
Retrieves navigationally accessed records from the database |
|
|
KEEP |
Places locks on navigationally accessed records |
|
|
MODIFY |
Modifies database records |
|
|
OBTAIN |
Locates and retrieves database records |
|
|
ON |
Performs conditional execution based on the outcome of LRF command execution |
|
|
READY |
Specifies an area usage mode for navigational database access |
|
|
RETURN DB-KEY |
Retrieves index entries associated with navigationally accessed database records |
|
|
ROLLBACK |
Requests recovery operations for navigationally accessed records |
|
|
STORE |
Stores database records |
|
Map commands |
ATTRIBUTES |
Alters map field attributes (an alternative format to MODIFY MAP) |
|
|
CLOSE |
Closes a dialog's input or output file maps (batch only) |
|
|
GET DETAIL |
Retrieves a modified detail occurrence of a pageable map |
|
|
MODIFY MAP |
Alters the options specified for the dialog's map |
|
|
PUT DETAIL |
Creates or modifies a detail occurrence of a pageable map |
|
Queue and scratch management commands |
DELETE QUEUE |
Deletes queue records |
|
|
GET QUEUE |
Retrieves queue records |
|
|
PUT QUEUE |
Stores queue records |
|
|
DELETE SCRATCH |
Deletes scratch records |
|
|
GET SCRATCH |
Retrieves scratch records |
|
|
PUT SCRATCH |
Stores scratch records |
|
Subroutine commands |
CALL |
Passes control to a predefined subroutine |
|
|
DEFINE |
Defines a subroutine |
|
|
GOBACK |
Returns control from a subroutine |
|
Utility commands |
ABORT |
Causes the runtime system to abort the application |
|
|
ACCEPT |
Retrieves runtime status information associated with the current dialog |
|
|
INITIALIZE RECORDS |
Reinitializes a dialog's record buffers |
|
|
SNAP |
Requests a snapshot dump of the areas in memory associated with CA ADS |
|
|
WRITE PRINTER |
Transmits data from a dialog to an CA IDMS/DC or DC/UCF queue for subsequent printing |
|
|
WRITE TO LOG/OPERATOR |
Sends a message to the log file or to the operator's console (batch only) |
SQL Statements
In addition to the database commands listed above, CA ADS also supports embedded SQL statements.
Note: For more information about statements (WHENEVER) and database commands, see the CA IDMS SQL Reference Guide. For more information about using SQL with CA ADS, see the CA IDMS SQL Programming Guide.
|
Copyright © 2014 CA.
All rights reserved.
|
|