I can parse that sentence two ways: 1. SUBCOM iis available for the environment name MVS and TSO. 2. SUBCOM is available for all of the MVS environment and all of the TSO environments
For the second reading, "that is" makes sense; for the first reading it does not. In either case, SH should be listed for both TSO and non-TSO. Naïvely, I would expect that SUBCOM will only work in ATTACH, ATTCHMVS, ATTCHPGM, LINK, LINKMVS, LINKPGM, MVS and TSO. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Wednesday, May 4, 2022 7:11 PM To: [email protected] Subject: What is SUBCOM? 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." > OK. It's a command. But which host command environments support it? Is SUBCOM supported by only the TSO and MVS host command environments? If so, I'd like to see the word "only" in the sentence quoted above, and "That is" omitted because it seems to imply that the second sentence is a consequence or a paraphrase of the first. Which of the following work, and why (not)? address TSO 'SUBCOM TSO ' address MVS 'SUBCOM MVS ' address ISREDIT 'SUBCOM ISREDIT' address ISPEXEC 'SUBCOM ISPEXEC' address SDSF 'SUBCOM SDSF ' address SH 'SUBCOM SH ' Unclearly documented in <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdocs%2Fen%2Fzos%2F2.5.0%3Ftopic%3Dcommands-subcom&data=05%7C01%7Csmetz3%40gmu.edu%7C39593f01482c4e27821608da2e2381ea%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637873027279587222%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=T1s7LnmR2eoWrK1NMAyZ%2B8WTkf6PtZnqMPkVAAdqD5Y%3D&reserved=0>. If it's a TSO command, why is it not documented in the TSO command Ref? Where are the commands supported in the MVS command environment listed? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
