Programming languages and environments for DL/I

You can write your programs in COBOL, C, PL/I, or assembler. The examples of DL/I requests in this section are in COBOL.

You have a choice of two interfaces--the command level interface (EXEC DLI) and the call level interface (using DL/I CALLs). The IMS Application Programming: Design Guide contains guidance on comparing the two interfaces. For programming information on the functions of EXEC DLI commands and DL/I CALLs, see the IMS Application Programming: EXEC DLI Commands manual or the IMS Application Programming: DL/I Calls manual manuals, respectively.

Issue IMS AIB call format

CICS supports IMS™ requests with the AIBTDLI interface as well as with the PCB format.

In addition, IMS supports application interface block (AIB) format for issuing GMSG, ICMD, and RCMD calls. These three calls enable DBCTL operator commands to be sent in a CICS® transaction, CDBM. (See CDBM operator transaction.)

These are the calls that are supported:

CICS has the following restrictions when function shipping AIB requests:

See the IMS Application Programming: DL/I Calls manual for programming interface information on these calls, plus information on defining AIB format instead of PCB format, and on the AIBTDLI entry point for link-edit.

The following table compares the AIB and PCB formats for EXEC DLI calls.

Table 4. Comparison of AIB and PCB formats for EXEC DLI calls
AIB format PCB format
EXEC DLI GU AIB(aibname) EXEC DLI GU USING PCB(n)
EXEC DLI GN AIB(aibname) EXEC DLI GN USING PCB(n)
EXEC DLI GNP AIB(aibname) EXEC DLI GNP USING PCB(n)
EXEC DLI ISRT AIB(aibname) EXEC DLI ISRT USING PCB(n)
EXEC DLI DLET AIB(aibname) EXEC DLI DLET USING PCB(n)
EXEC DLI REPL AIB(aibname) EXEC DLI REPL USING PCB(n)
EXEC DLI POS AIB(aibname) EXEC DLI POS USING PCB(n)
EXEC DLI STAT AIB(aibname) EXEC DLI STAT USING PCB(n)
EXEC DLI QUERY AIB(aibname) EXEC DLI QUERY USING PCB(n)
EXEC DLI DEQ AIB(aibname) EXEC DLI DEQ1
EXEC DLI LOG AIB(aibname) EXEC DLI LOG1
EXEC DLI REFRESH AIB(aibname) EXEC DLI REFRESH1
EXEC DLI ACCEPT AIB(aibname) EXEC DLI ACCEPT1
EXEC DLI SETS AIB(aibname) EXEC DLI SETS1
EXEC DLI ROLS AIB(aibname) EXEC DLI ROLS1
EXEC DLI GMSG AIB(aibname) ---
EXEC DLI ICMD AIB(aibname) ---
EXEC DLI RCMD AIB(aibname) ---
Notes:
  1. USING PCB is not required because these commands assume the IOPCB.
  2. You cannot use both the AIB and the PCB in a single EXEC DLI command, but you can choose either of them for each EXEC DLI command in an application program.

For more information about these commands, see the IMS Application Programming: EXEC DLI Commands Summary.

Related concepts
Application programming for DBCTL
Overview of application programming for DBCTL
Additional facilities available with DBCTL
Migrating programs to DBCTL
Summary of DBCTL abends and return codes
[[ Contents Previous Page | Next Page Index ]]