Comparing EXEC DLI commands and DL/I calls

Use the appropriate EXEC DLI commands and DL/I calls in your program.

The following table compares EXEC DLI commands with DL/I calls. For example, in a command-level program, you use the LOAD command instead of the ISRT call to initially load a database.

Table 1. Comparing call-level and command-level programs: commands and calls
Call-level Command-level Purpose
INIT call ACCEPT command Initialize for data availability status codes.
CHKP call (basic) CHKP command Issue a basic checkpoint.
DEQ call DEQ command Release segments retrieved using LOCKCLASS option or Q command code.
DLET call DLET command Delete segments from a database.
GU, GN, and GNP calls GU, GN, and GNP commands1 Retrieve segments from a database.
GHU, GHN, and GHNP calls1 GU, GN, and GNP commands1 Retrieve segments from a database for updating.
GSCD call GSCD call2 Retrieve system addresses.
ISRT call ISRT command Add segments to a database.
ISRT call LOAD command Initially load a database.
LOG call LOG command Write a message to the system log.
POS call POS command Retrieve positioning or space usage or positioning and space usage in a DEDB area.
INIT call ACCEPT command Initialize for data availability status.
INIT call QUERY command Obtain information of initial data availability.
INIT call REFRESH command Availability information after using a PCB.
REPL call REPL command Replace segments in a database.
XRST call RETRIEVE command Issue an extended restart.
ROLL or ROLB call ROLL or ROLB command Dynamically back out changes.
ROLS call ROLS command Back out to a previously set backout point.
PCB call SCHD command Schedule a PSB.
SETS call SETS command Set a backout point.
SETU call SETU command Set a backout point even if unsupported PCBs (like DEDBs or MSDBs) are present.
STAT call3 STAT command Obtain system and buffer pool statistics.
CHKP call (extended) SYMCHKP command Issue a symbolic checkpoint.
TERM call TERM command Terminate a PSB.
XRST call XRST command Issue an extended restart.
Notes:
  1. Get commands are just like Get Hold calls, and the performance of Get commands and Get calls is the same.
  2. You can use the GSCD call in a batch command-level program. GSCD is a Product-sensitive Programming Interface.
  3. STAT is a Product-sensitive Programming Interface.