On Wed, 4 May 2022 19:11:46 +0000, Seymour J Metz wrote:
>?
>
>From z/OS 2.5 TSO/E REXX Reference, SA32-0972-50:
>
>"You can use the SUBCOM command in REXX execs that run in any address space,
>TSO/E or non-TSO/E.
>That is, SUBCOM is available from the TSO and MVS host command environments."
>
I stand corrected. Clearly documented in
<https://www.ibm.com/docs/en/zos/2.5.0?topic=commands-subcom>.
Is this new? Like Phil, I was accustomed to having it only in CMS.
I'll submit an RCF on:
When you run an exec in a non-TSO/E address space, the following default
host command environments are available:
MVS (the default environment)
...
In fact, when I run an exec in UNIX shell, clearl " a non-TSO/E address space",
the default environment is not MVS but SH.
_______________________________________
>From: Phil Smith III
>Sent: Wednesday, May 4, 2022 2:41 PM
> ...
>If this were CMS, you could issue:
>address command 'SUBCOM SDSF'
>to test whether the SDSF subcommand environment was available (RC=0, yes;
>RC=1, no). Too bad a generic equivalent didn't get carried into Rexx in
>z/OS.
--
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN