Prepare the sample application for the IMS environment

 

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.

Then perform the following steps:

  1. Perform the same steps that you would when building any IMS WebSphere 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.

  2. Identify the application program and database to IMS. Samples are provided with PSBGEN, DBDGEN, ACB definition, IMSGEN, and IMSDALOC statements to enable this.

  3. 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.

  4. 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.

 

Parent topic:

Sample programs for WebSphere MQ for z/OS


fg18190_