How to use the ADDRESS SDSF host command in an OPS/REXX?

Document ID : KB000052490
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Using the ADDRESS SDSF host command in an OPS/REXX results in rc(-3).

Solution:

OPS/REXX does not have an ADDRESS SDSF host command that is the reason for the -3 return codes.

ADDRESS SDSF is supported in a TSO/E REXX. Execute the TSO/E REXX from an OPS/REXX with the ADDRESS TSO "EXECUTE tso.rexx.program". The results from the SDSF command can be stored in global variables in the TSO/E REXX, with the OPS/MVS command processors OPSSETV and OPSGETV, so that they can be accessed in the OPS/REXX.