Using the IMS Operations APIs

July 10, 2020 · View on GitHub

You can use the REST APIs that are provided with IMS Operations API to perform the following tasks:

  • Create, define, manage, query, and delete IMS program resources for application programs.
  • Create, manage, query, and delete IMS transactions and transaction resources.
  • Start, stop, and display information about IMS message and application processing regions.

Updating an existing IMS application by using the IMS Operations API

In order to add a new feature to an existing IMS application APIs can be invoked to refresh application resources in the IMS system.

To refresh existing IMS application resources issues the stop region API followed by the start region API:

• Stop the IMS application region

PUT {host}:{port}/ims/apis/v1/{imsplex}/region/stop?jobname={jobname}

• Start the IMS application region

PUT {host}:{port}/ims/apis/v1/{imsplex}/region/start?jobname={jobname}

• Verify the application region status

GET {host}:{port}/ims/apis/v1/{imsplex}/region

If the transaction or program resource does not run properly, Susan might need to restart the resource. Susan might need to restart the resource. To check the status of the resources, she can invoke the following APIs:

GET {host}:{port}/ims/apis/v1/{imsplex}/pgm?names={appname}&show=STATUS

GET {host}:{port}/ims/apis/v1/{imsplex}/tran?names={traname}&show=STATUS

Additional APIs are outlined in the OpenAPI documentation.

IMS Commands

To learn more about the list of available IMS commands see the IBM Knowledge Center documentation for each command