Programming information on DL/I requests is in the IMS Application Programming: EXEC DLI Commands manual and the IMS Application Programming: DL/I Calls manual manuals.
Application programming considerations in a DBCTL environment include:
- Additional facilities available to application programmers with
DBCTL
- Migrating programs to DBCTL
- Additional abends and return codes that may be issued with DBCTL
In most cases, your existing application programs should not need
any changes to access databases controlled by DBCTL. See Migrating a DL/I program to a DBCTL program. However, consider the following:
- You must migrate batch CICS® shared database programs to BMPs,
and you are advised to migrate "native" IMS™ batch
jobs to use BMPs. (See Batch message processing programs (BMPs), Migrating CICS shared database batch jobs to
BMPs,
and Migrating native IMS batch jobs to BMPs.)
- Your application programs will have to deal with a number of abend
and response codes that may be issued with DBCTL. (See Summary of DBCTL abends and return codes.)
- Enhanced scheduling with DBCTL enables a PSB to be scheduled even
if some of the full function databases or DEDB areas it requires are
not available. (See Enhanced scheduling.)
- You can use the DL/I LOG request instead of the EXEC CICS WRITE
JOURNALNAME command so that all DBCTL logging information is on the IMS log
instead of the CICS system log. (See LOG command and call.)
- DBCTL supports additional DL/I requests for application programs.
DL/I requests available with DBCTL are described for guidance. It
also supports all existing call level and EXEC level requests previously
supported in the local DL/I environment. Programming information on
DL/I requests is in the IMS Application Programming: EXEC DLI Commands manual and the IMS Application Programming: DL/I Calls manual manuals.
CICS provides the following sample programs in the SDFHSAMP
library to show you how to use the CALL DL/I and EXEC DLI interfaces:
Table 3. Sample programs for DL/I
Language |
CALL DL/I |
EXEC DLI |
PSBs used |
Assembler |
DFH$DLAC |
DFH$DLAE |
DFHSAM04, DFHSAM05 |
COBOL |
DFH0DLCC |
DFH0DLCE |
DFHSAM24, DFHSAM25 |
PL/I |
DFH$DLPC |
DFH$DLPE |
DFHSAM14, DFHSAM15 |
[[ Contents Previous Page | Next Page Index ]]