Chapter 14. Application Programming Overview


This section explains application program basics for any program that runs in an IMS environment.

IMS programs (online and batch) have a different structure than non-IMS programs (see "Application Program Structure" on page 218). An IMS application program is always called as a subroutine of the IMS region controller and must have a program specification block (PSB) associated with it. The PSB provides an interface from the program to IMS services that the program needs to use. These services can be:

  • Sending or receiving messages from online user terminals

  • Accessing database records

  • Issuing IMS commands

  • Issuing IMS service (checkpoint or synchronization) calls

The IMS services available to any program are determined by the IMS environment in which the application is running.

In This Chapter:

  • "Java Programs" on page 218

  • "Application Program Structure" on page 218

  • "IMS Setup for Applications" on page 230

  • "IMS Application Programming Interfaces" on page 235

  • "IMS Application Calls" on page 235

  • "Accessing DB2 for z/OS Using a Resource Translation Table" on page 237

  • "IMS System Service Calls" on page 237

  • "Testing IMS Applications" on page 239



Introduction to IMS. Your Complete Guide to IBM's Information Management System
An Introduction to IMS: Your Complete Guide to IBMs Information Management System
ISBN: 0131856715
EAN: 2147483647
Year: 2003
Pages: 226

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net