Preparing the sample application for the IMS environment on z/OS
How to prepare the part of the Credit Check sample application that can run in the IMS environment on z/OS®.
About this task
The sample applications for z/OS include the source and JCL for the Credit Check IMS sample (C only). For more information, see Source and JCL for the Credit Check IMS sample (C only).
Procedure
- Perform the steps described in Preparing the sample applications for the CICS environment on z/OS.
- 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 Source and JCL for the Credit Check IMS sample (C only).
- 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.