Is it possible to launch some tasks in foreground in separated java thread such as "EXEC" command form TSO Console?
Usually, it can be launched over Runtime.getRuntime().exec()... and I can redirect stdin/stdout into java program, but it isn't ajusted for mvs.
Thanks.
foreground exec on mvs
"tso" is really needed command, thanks .
But some TSO/E commands are not supported in dynamic TSO environment.
I need to launch some rexx scripts in real TSO environment. Some scripts needs to write result data into special DD (DD:MYRXXOUT for example).
How can I call a rexx script in real TSO environment from java-program and get it's results without dataset or hfs-file allocation?
Can I allocate temporary DD from JZOS (over BPXWDYN call) and launch rexx script (over "tso exec proxy.rexx" which launches target rexx over ADDRESS TSO "EXEC ...") with the DD specified in arguments? Then the script writes the result into the dd, allocated by jzos, and java-program reads the result from the dd and remove it. Is it possible?
But some TSO/E commands are not supported in dynamic TSO environment.
I need to launch some rexx scripts in real TSO environment. Some scripts needs to write result data into special DD (DD:MYRXXOUT for example).
How can I call a rexx script in real TSO environment from java-program and get it's results without dataset or hfs-file allocation?
Can I allocate temporary DD from JZOS (over BPXWDYN call) and launch rexx script (over "tso exec proxy.rexx" which launches target rexx over ADDRESS TSO "EXEC ...") with the DD specified in arguments? Then the script writes the result into the dd, allocated by jzos, and java-program reads the result from the dd and remove it. Is it possible?