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

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of Rob 
Scott [[email protected]]
Sent: Monday, July 11, 2022 3:38 AM
To: [email protected]
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 <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: 10 July 2022 18:19
To: [email protected]
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 
[email protected] 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&amp;data=05%7C01%7Csmetz3%40gmu.edu%7Cb9093384306b44b6369b08da63106e95%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637931219486552276%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=aNovhepzOOFX9oFnENhA8ANbaN6vrx6XxGNI8YYSrkA%3D&amp;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&amp;data=05%7C01%7Csmetz3%40gmu.edu%7Cb9093384306b44b6369b08da63106e95%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637931219486552276%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=c7eC9P36It97xMVm2b5pLCJAZWC%2FA4plj4Ssof%2BwQP0%3D&amp;reserved=0
Privacy Policy - 
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rocketsoftware.com%2Fcompany%2Flegal%2Fprivacy-policy&amp;data=05%7C01%7Csmetz3%40gmu.edu%7Cb9093384306b44b6369b08da63106e95%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637931219486552276%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=zpN4t7STskqcohMreMgA8vzaGq%2BD%2FjGGO6n%2Bs6r4yUI%3D&amp;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 [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

Reply via email to