Version 9.6
 —  Common Integration Scenarios  —

Calling COBOL Channel Container on z/OS CICS from Integration Server

This document covers the following topics:


Introduction

graphics/cob2is-zos-cics-channel-solution.png

graphics/blue_1.gif Extract the interface of the COBOL server program.
graphics/blue_2.gif Generate connection and adapter services in Integration Server.
graphics/blue_3.gif Execute the call from Integration Server to the COBOL server program.

This scenario makes the following important assumptions:

For Step 1:

For Steps 2 and 3:

Top of page

Step 1: Extract the Interface of a COBOL Server

Follow the instructions for extracting COBOL, see Using the IDL Extractor for COBOL - Overview and choose Scenario I: Create New IDL and SVM if this is your first extraction.
This process creates the following EntireX metafiles:

Testing the Extraction Results (Optional)

Optionally, you can test the results of the extraction operation, using the EntireX IDL Tester.

  1. Test the COBOL Server backend using Test Software AG IDL from the Workbench:

    graphics/common_test-idlTester.png

    Note that the Broker and Server parameters contain the explicit route to call the server program, and you can optionally ping the connection from this client. See EntireX IDL Tester in the EntireX Workbench documentation.

  2. Check the IS log, the EntireX Adapter log, or the RPC logs. Applies to all connection methods.

Top of page

Step 2: Generate the Connection and Adapter Services in Integration Server

This step is described in more detail under Using the Integration Server Wrapper.

Select the IDL file, and from the context menu choose Generate webMethods Connection from IDL file.... From the wizard, select an Integration Server instance and select the connection type.

graphics/common_generate-connectionType.png

Then select the namespace where you want to write the services to, and specify the connection properties.

graphics/common_generate-defineAdapterServices.png

Choose Finish. The connection service will be automatically enabled in the Integration Server.

Top of page

Step 3: Execute the Call from Integration Server to COBOL

From the Service Development perspective, refresh the package where the connection service was written, select the Adapter service, and use the service test to Run Service:

graphics/common_test-calc.png

This invokes the adapter service through the connection service.

In case of error or unexpected results, use the IDL Tester as described under Step 1.

Top of page