Joined: 13 Jun 2012 Posts: 161 Location: United States
You could have a CICS transaction submit a job to the JES reader that would execute the REXX. But you would have to store the results in a DB or tableBASE table and make that result available to another CICS transaction.
I have done something similar to provide information to a web service client.
Can rexx code be implemented in online cics environment
from the IBM manuals
The REXX Development System for CICS® and the REXX Runtime Facility for CICS are two program products collectively referred to as REXX for CICS. With REXX for CICS, you can write and run REXX programs in a CICS region.