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.

I don't know how difficult it would be to change MGCR to allow, e.g., /text/, 
as an alternative to 'text'.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [0000042bfe9c879d-dmarc-requ...@listserv.ua.edu]
Sent: Sunday, July 10, 2022 11:31 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How do I issue a command with a blank in it?

On Sun, 10 Jul 2022 13:11:17 +0000, Seymour J Metz wrote:
>    ...
> if someone were able to do an RFE with a compelling business case to allow 
> embedded spaces within all quoted text.
>
Why should that be hard?  It's simply a matter of *not* treating <SP> as an 
exception.

>    ... It would also be nice if they could justify allowing quotes as an 
> alternative framing character to apostrophes.
>
Or, as XEDIT and "sed" do, allowing the command itself to imply the framing 
character
from a very large set such as all special characters.

>I like the suggestion of having SDSF support (name) in the REXX API.
>
The hard part would be selecting a lead-in that doesn't otherwise exist
in SDSF commands.

It restricts the choice of scripting language to one that supports IRXEXCOM.
It may be reasonably easy.  In CMS I once wrote glue code to interface
SQL/DS to Mainsail's scriptable debugger.

--
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to 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 with the message: INFO IBM-MAIN

Reply via email to