Application programming for IMS DB
IMS™ provides support for writing application programs to access the IMS database.
These topics describe the program elements of IMS DB, how to recover an IMS database and maintain logical relationships. In addition, an explanation of how to process GSAM and Fast path databases is provided.
- Writing your application programs for IMS DB
You can write application programs in High Level Assembler language, C language, COBOL, Java™, Pascal, and PL/I to access data in the IMS DB. - 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. - Database versioning and application programming
When database versioning is enabled in an IMS system, IMS can maintain multiple versions of the structural definition of a database so that existing application programs can continue to access a database after the database is modified to support new application programs. - Establishing a DL/I interface from COBOL or PL/I
To establish a DL/I interface from COBOL or PL/I, use either the CBLTDLI procedure or the PLITDLI procedure. - Current position in the database after each call
Positioning means that DL/I tracks your place in the database after each call that you issue. By tracking your position in the database, DL/I enables you to process the database sequentially. - Using IMS application program sync points
IMS application programs can (and should) take checkpoints. These checkpoints and system sync points can affect IMS operations. - Recovering databases and maintaining database integrity
You can issue checkpoints, restart programs, and maintain database integrity in your application programs. - Secondary indexing and logical relationships
Secondary indexing and logical relationships are techniques that can change your application program's view of the data. The DBA makes the decision about whether to use these options. - HALDB selective partition processing
You can restrict the processing of DL/I calls to a single HALDB partition or a range of HALDB partitions by using a DD statement with the ddname DFSHALDB to pass control statements. DFS HALDB must be provided in the JCL of the batch job, the BMP (Batch Message Processing dependent online region), or the JBP (Java Batch Processing dependent online region). - Processing GSAM databases
GSAM databases are available to application programs that can run as batch programs in batch message processing (BMP) regions, transaction-oriented BMPs, or Java batch processing (JBP) regions. - Processing Fast Path databases
You can write application programs to access Fast Path databases, including main storage databases and data entry databases. - Writing ODBA application programs
By using the ODBA interface, IMS DB databases can be accessed from environments that are outside the scope of control for IMS, such as Db2 for z/OS® stored procedures. - Programming with the IMS support for DRDA
IMS provides an implementation of the Distributed Relational Database Architecture™ (DRDA) protocol that you can use to write your own IMS Connect TCP/IP client applications.