True - however I think the original author of the exec was alternating between using the stem form and a variable replacement form.
For my sins, this was cut+paste from a REXX PDS that we have for unit testing. Rob From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Seymour J Metz Sent: 11 July 2022 12:53 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How do I issue a command with a blank in it? EXTERNAL EMAIL ObNit Why don't you want to quoute the stem name? The statement address SDSF "ISFSLASH (mycmd.) (WAIT)" will work regardless of whether you give mycomd. a default value. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3<http://mason.gmu.edu/~smetz3> ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Rob Scott [rsc...@rocketsoftware.com] Sent: Monday, July 11, 2022 3:38 AM To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU> Subject: Re: How do I issue a command with a blank in it? For what it is worth, SDSF REXX API already accepts an alternate form of input for the ISFSLASH verb where you can pass the name of a stem variable that holds one or more z/OS operator commands. For example : /* REXX */ x=ISFCALLS("ON") ISFDELAY = 3 mycmd.0 = 2 mycmd.1 = "D A,L" mycmd.2 = "D T" address SDSF "ISFSLASH ("mycmd.") (WAIT)" do respindex = 1 to ISFULOG.0 say ISFULOG.respindex end exit Rob Scott Rocket Software -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>> On Behalf Of Paul Gilmartin Sent: 10 July 2022 18:19 To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU> Subject: Re: How do I issue a command with a blank in it? EXTERNAL EMAIL On Sun, 10 Jul 2022 11:51:29 -0400, David Spiegel wrote: >Hi Gil, >You said: "..as XEDIT and "sed" do ..." >IIRC, TSO Edit should be included in this list. > Not in my list. On Sun, 10 Jul 2022 16:06:18 +0000, Seymour J Metz wrote: >A space in an operator command is the separator between operand and comment. >That means that space has to be treated differently from other characters. >What the RFE would ask for is to suspend that special treatment for spaces >within framiong characters. > Within an apostrophe-framed string the special treatment of numerous characters such as comma, parentheses, and the apostrophe itself is suspended, perhaps using TRT. It should be simple to add <SP> to the list. >I don't know how difficult it would be to change MGCR to allow, e.g., /text/, >as an alternative to 'text'. > I was focusing more on the SDSF API than on MGCR. But both may need changes, for similar reasons: SDSF to allow an arbitrary string as an operator command; MGCR tp allow an arbitrary string as a parameter value. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu> with the message: INFO IBM-MAIN ================================ Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmy.rocketsoftware.com%2FRocketCommunity%2FRCEmailSupport&data=05%7C01%7Csmetz3%40gmu.edu%7Cb9093384306b44b6369b08da63106e95%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637931219486552276%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aNovhepzOOFX9oFnENhA8ANbaN6vrx6XxGNI8YYSrkA%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmy.rocketsoftware.com%2FRocketCommunity%2FRCEmailSupport&data=05%7C01%7Csmetz3%40gmu.edu%7Cb9093384306b44b6369b08da63106e95%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637931219486552276%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aNovhepzOOFX9oFnENhA8ANbaN6vrx6XxGNI8YYSrkA%3D&reserved=0> Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rocketsoftware.com%2Fmanage-your-email-preferences&data=05%7C01%7Csmetz3%40gmu.edu%7Cb9093384306b44b6369b08da63106e95%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637931219486552276%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=c7eC9P36It97xMVm2b5pLCJAZWC%2FA4plj4Ssof%2BwQP0%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rocketsoftware.com%2Fmanage-your-email-preferences&data=05%7C01%7Csmetz3%40gmu.edu%7Cb9093384306b44b6369b08da63106e95%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637931219486552276%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=c7eC9P36It97xMVm2b5pLCJAZWC%2FA4plj4Ssof%2BwQP0%3D&reserved=0> Privacy Policy - https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rocketsoftware.com%2Fcompany%2Flegal%2Fprivacy-policy&data=05%7C01%7Csmetz3%40gmu.edu%7Cb9093384306b44b6369b08da63106e95%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637931219486552276%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zpN4t7STskqcohMreMgA8vzaGq%2BD%2FjGGO6n%2Bs6r4yUI%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rocketsoftware.com%2Fcompany%2Flegal%2Fprivacy-policy&data=05%7C01%7Csmetz3%40gmu.edu%7Cb9093384306b44b6369b08da63106e95%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637931219486552276%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zpN4t7STskqcohMreMgA8vzaGq%2BD%2FjGGO6n%2Bs6r4yUI%3D&reserved=0> ================================ This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu> with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu> with the message: INFO IBM-MAIN ================================ Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy ================================ This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN