Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Delivered
Workspace z/OS Connect
Created by Guest
Created on Apr 7, 2017

z/OS Connect EE: provide for outbound API calls from z, enabling z programs to be consumers of APIs, with simplicity

z/OS Connect EE: provide for outbound API calls from z, enabling z programs to be consumers of APIs, with simplicity.

z/OS Connect EE is extraordinary product that allows mainframe programs and assets to be accessed and consumed as APIs.

With the ubiquity of services accessible with APIs, there is a present need in our organization for mainframe programs, especially CICS programs, to consume APIs in easy and transparent way.

z/OS Connect is the perfect solution. Just reverse the process.


A possible solution:

1. Use the Swagger description of an API as input.

2. a. Write an utility (similar to baqjs2ls) to create an "outbound service", transformation bind files, and request/response copybooks for a high-level language (i.e. Cobol), based on the Swagger input , including CRUD method, URI, parms, query parms, headers…

or
b. Import the Swagger to the API editor and enable it to produce an "outbound service", transformation bind files, and request/response copybooks.

3. Enable the API editor to further modify the request/response for flexibility, as needed (mapping, URL/URI, method, etc). Create an “outbound API” equivalent to the current APIs (where the additional mapping and tweaks are defined).

Then... i.e. in CICS:

4. Create "outbound" WOLA programs for requests flowing from CICS to Liberty/zCEE, accessible by EXEC CICS LINK with commarea or container/channel.

5. CICS application programmers use the request/response copybooks in their code, for API consumption.

6. To consume the API:
a. The CICS application program simply executes a LINK to the "outbound" WOLA program, passing a commarea defined by the request copybook.
b. WOLA passes the request to z/OS Connect, and z/OS Connect:
- uses the “outbound” service to transform the commarea to API and JSON,
- uses the “outbound API” to further modify the request,
- sends a REST API to the API provider
- receives the response from the API provider
- uses the “outbound API” to modify the response,
- uses the “outbound” service to transform the JSON response to commarea
- returns the response through WOLA

c. The CICS application program receives the response in a commarea defined by the response copybook.

Idea priority High
  • Guest
    Reply
    |
    Jul 20, 2017

    This requirement is addressed by z/OS Connect Enterprise Edition V3.01 / APAR PI83949:
    http://www-01.ibm.com/support/docview.wss?uid=swg1PI83949

    This enhancement is achieved through the adoption of the new "API requester" capability. Further details are available in the z/OS Connect EE V3.0 knowledge center topic, "Calling RESTful APIs from z/OS applications" :

    https://www.ibm.com/support/knowledgecenter/SS4SVW_3.0.0/com.ibm.zosconnect.doc/facilitating/facilitating.html