Skip to content

A tutorial on creating a REST API that accesses an IMS transaction

License

Notifications You must be signed in to change notification settings

imsdev/ims-zcee-api-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

IMS application as a REST API provider with z/OS Connect EE

Application programming interfaces (APIs) are the digital glue that links services, applications, and systems. You can enable IMS™ applications as REST services and define REST APIs for these services. This sample uses IBM® z/OS® Connect Enterprise Edition (z/OS Connect EE) V3 as the solution.

Scenario

The IMS sample telephone book application (also known as the phonebook application, or the IVTNO transaction) is exposed as a REST service, and a REST API is created to issue a GET request to look up the contact information for a given last name.

Program flow and architecture

This scenario uses a z/OS Connect EE server to host the REST API and the service. The IMS service provider that comes with z/OS Connect EE handles the communication with IMS Connect.

flowdiagram

z/OS Connect EE provides an API toolkit, an Eclipse plugin to install into IBM Explorer for z/OS, that lets you:

  • Create a service from a COBOL copybook or PL/I include.
  • Define the request and response service interfaces.
  • Specify how the service can access and interact with IMS.

After a service is created, use the API toolkit to create a REST API from the service.

Technology demonstrated

  • z/OS Connect EE V3/open beta
    There are two options to try out this solution:

  • z/OS Connect EE API toolkit V3
    You can download the z/OS Connect EE API toolkit from the Mainframe DEV site. The API toolkit is a plug-in that you must install into or along with IBM Explorer for z/OS, which is also available from the same location.

    Note: IBM Explorer for z/OS Aqua is an Eclipse-based integration platform with an extensible and compatible suite of z/OS tools and capabilities. Choose the z/OS Explorer Aqua V3.1 (Eclipse Neon V4.6) path to install the correct version of API toolkit and IBM Explorer for z/OS.

About

A tutorial on creating a REST API that accesses an IMS transaction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •