OPSREST How to see the output of say instructions of programs called through the opsrexx endpoint?
search cancel

OPSREST How to see the output of say instructions of programs called through the opsrexx endpoint?

book

Article ID: 394672

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Running an OPS/REXX program using Swagger or Postman but the output of the say commands in this program are not shown anywhere.

Environment

OPS/MVS REST API

Resolution

The output of REXX say instructions can be retrieved using the GET method of the opsrexx endpoint. You need to pass an instance token obtained when the REXX program was executed:

GET /api/v1/opsrexx/{instanceToken}

Query a previously submitted OPS/REXX program instance for any generated output and return code. The return code will only be available if the OPS/REXX program has completed execution.