Preparing the sample application for the IMS environment on z/OS
Part of the Credit Check sample application can run in the IMS environment.
To prepare this part of the application to run with the CICS sample, first perform the steps described in Preparing the sample applications for the CICS environment on z/OS.
Then perform the following steps:- Perform the same steps that you would when building any IMS IBM MQ for z/OS application. These steps are listed in Building IMS (BMP or MPP) applications. The library members to use are listed in Table 1.
- Identify the application program and database to IMS. Samples are provided with PSBGEN, DBDGEN, ACB definition, IMSGEN, and IMSDALOC statements to enable this.
- Load the database CSQ4CA by tailoring and running the sample JCL provided for this purpose (CSQ4ILDB). This JCL loads the database with data from the file CSQ4BAQ. Update the IMS control region with a DD statement for the database CSQ4CA.
- Start the checking-account program as a batch message processing (BMP) program by tailoring and running the sample JCL provided for this purpose. This JCL starts a batch-oriented BMP program. To run the program as a message-oriented BMP program, remove the comment characters from the line in the JCL that contains the IN= statement.
- Names of the sample IMS application on z/OS
This information provides a table with the list of the sources and JCLs that are supplied for the Credit Check sample IMS application.
Parent topic: Use the sample programs for z/OS