How can we handle Rexx syntax errors when using Zowe?

Hello
We are using Zowe to run Rexx on our mainframe.
Sometimes we do not get a response from the mainframe.
We have investigated and found that this is because Rexx throws a syntax error, like this:

25 +++ test = test * 3                                         

IRX0041I Error running TESTPGM, line 25: Bad arithmetic conversion


Where in a normal TSO environment it would be waiting for someone to hit enter, to resume.

How do we get Zowe to hit enter, to resume the task?
Or is there another way of avoiding this, where I do not have to fix all our legacy Rexx?

We are currently running Zowe 1.2
The Zowe command we are using is:
‘zowe zos-tso issue cmd “exec ‘OUR.ISPCLIB(TESTPGM)’ exec” -u “$HOST_USER” --pw “$HOST_PASS” -H “our.host.address” -a “TSOACCT” -P “50443” --reject-unauthorized false --ssm’

Any help is appreciated :slight_smile:
Regards
Rune Christensen
Bankdata
Denmark

Hello

So we didn’t solve this, but we figured out a workaround.
This call was part of a string of calls, so instead of submitting a lot of “zos-tso issue cmd” commands, we changed to a “zos-tso start address-space” and then used “zos-tso send address-space” for the commands.

The “issue cmd” command creates a new tso session for every command.
Where the “start address-space” creates a tso session, that we can reuse in all the “send address-space” commands.
This avoids the issue we saw with the “issue cmd” command.

Regards
Rune Christensen
Bankdata
Denmark