Accessing databases with your IMS application program

When designing your program, consider the type of database it must access. The type of database depends on the operating environment.

The program types you can run and the different types of databases you can access in a DB batch, TM batch, DB/DC, DBCTL, or DCCTL environment are shown in the following table.

Table 1. Program and database options in IMS environments
Environment Type of program you can run Type of database that can be accessed
DB/DC BMP
  • Db2 for z/OS®
  • DEDB and MSDB
  • Full function
  • z/OS files
IFP
  • Db2 for z/OS
  • DEDB
  • Full function
JBP
  • Db2 for z/OS
  • DEDB
  • Full function
JMP
  • Db2 for z/OS
  • DEDB
  • Full function
MPP
  • Db2 for z/OS
  • DEDB and MSDB
  • Full function
DB Batch DB Batch
  • Db2 for z/OS
  • Full function
  • GSAM
  • z/OS files
DBCTL BMP (Batch-oriented)
  • Db2 for z/OS
  • DEDB
  • Full function
  • GSAM
  • z/OS files
JBP
  • Db2 for z/OS
  • DEDB
  • Full function
DCCTL BMP
  • Db2 for z/OS
  • GSAM
  • z/OS files
IFP
  • Db2 for z/OS
JMP
  • Db2 for z/OS
MPP
  • Db2 for z/OS
TM Batch TM Batch
  • Db2 for z/OS
  • GSAM
  • z/OS files

The types of databases that can be accessed are: