Defining application program elements for IMS DB
Use these specific parameters and formats for making DL/I calls through the language interfaces for your applications program written in assembler language, C language, COBOL, Pascal, and PL/I.
- Formatting DL/I calls for language interfaces
When you use DL/I calls in assembler language, C language, COBOL, Pascal, or PL/I, you must call the DL/I language interface to initiate the functions specified with the DL/I calls. - Assembler language application programming
Application programs in assembly language use the following format, parameters, and DL/I calls to communicate with IMS databases. - C language application programming
Application programs in C use the following format, parameters, and DL/I calls to communicate with IMS databases. - COBOL application programming
Application programs in COBOL use the following format, parameters, and DL/I calls to communicate with IMS databases. - Java application programming for IMS
IMS provides support for developing applications using the Java™ programming language. - Pascal application programming
Application programs in Pascal use the following format, parameters, and DL/I calls to communicate with IMS databases. - Application programming for PL/I
Application programs in PL/I use the following format, parameters, and DL/I calls to communicate with IMS databases. - Specifying the I/O PCB mask
After your program issues a call with the I/O Program Communications Block (I/O PCB), IMS returns information about the results of the call to the I/O PCB. To determine the results of the call, your program must check the information that IMS returns. - Specifying the DB PCB mask
IMS describes the results of the calls your program issues in the DB PCB that is referenced in the call. To determine the success or failure of the DL/I call, the application program includes a mask of the DB PCB and then references the fields of the DB PCB through the mask. - Specifying the AIB mask
The application interface block (AIB) is used by your program to communicate with IMS, when your application does not have a PCB address or the call function does not use a PCB. - Specifying the AIB mask for ODBA applications
The following table describes the fields for specifying the application interface block (AIB) mask for ODBA applications. - Specifying the UIB (CICS online programs only)
The interface between your CICS® online program and DL/I passes additional information to your program in a user interface block (UIB). The UIB contains the address of the PCB list and any return codes your program must examine before checking the status code in the DB PCB. - Specifying the I/O areas
Use an I/O area to pass segments between the application program and IMS. - Formatting segment search arguments (SSAs)
Segment search arguments in your assembler language, C language, COBOL, Java, Pascal, and PL/I application programs must be coded according to the following rules and formats. - Data areas in GSAM databases
Generalized Sequential Access Method (GSAM) databases are available only to application programs that can run as batch programs, batch-oriented BMPs, transaction-oriented BMPS, or JBPs. The program communication block (PCB) mask and the record search argument (RSA) that you use in a GSAM database call have special formats. - AIBTDLI interface
Use AIBTDLI as the interface between your application program and IMS. - Language specific entry points
In your application program written in assembler language, C, COBOL, Pascal, or PL/I, control is passed from IMS through an entry point. - Program communication block (PCB) lists
In your application program, code your PCB or GPSB list in the following format. - The AERTDLI interface
You can make database calls with AIBs in your ODBA applications using the AERTDLI interface. - Language environments
IBM® Language Environment® provides the strategic execution environment for running your application programs written in one or more high level languages. - Special DL/I situations for IMS DB programming
Special cases during application programming for IMS DB include usage of the GUR call, program scheduling against HALDBs, mixed language programming, using the extended addressing capabilities of z/OS®, and setting COBOL compiler options for preloaded programs. - Application programming with the IMS catalog
The IMS catalog database is accessible to standard IMS DB application programs when it is enabled for your IMS system.
Parent topic: Application programming for IMS DB