Testing the scenario

Test the client CICS® application for the API call.

About this task

zosConnect-2.0 Applies to zosConnect-2.0.

In this step, you compile and link-edit the client CICS application to test whether it can call the catalog manager API that is deployed in the request endpoint through the IBM® z/OS® Connect server.

Procedure

  1. Add the following data sets to the JCL for compiling your application:
    • TEST.CATALOG.COBOL: containing the generated data structures and the generated API information file.
    • hlq.SBAQCOB: containing the BAQRINFO data structure that contains the parameters to pass to the communication stub for communication with the IBM z/OS Connect server.
  2. Compile and link-edit your program.

Results

You have called the catalog manager API from the client CICS application and received the following response:

Congratulations!
Return code: 00
Response Message: ORDER SUCCESSFULLY PLACED