On 19 Nov 2020 11:30:29 -0800, in bit.listserv.ibm-main
(Message-ID:<[email protected]>)
[email protected] (Charles Mills) wrote:
>The issue I am struggling with is that for all of Rexx's
parsing power,
>which is of course legendary, it does not seem
well-suited to classic "MVS"
>(for want of a better term) quoted strings. I am
considering an EXEC that
>would accept parameters of
>
>'a quoted string', 'another quoted string', simpletoken1,
simpletoken2, ...
>
>I don't see a good way to parse -- without resorting to a
>character-by-character loop -- input such as
>
>'now isn''t the time', 'nor, is this', MYTOKEN, YOURTOKEN
I'm not overly fond of this suggestion, but I make it in
case it's of use:
Have you considered a CLIST wrapper? The user invokes a
CLIST which parses out the operands, and that calls the
REXX program with operands that REXX can understand easily.
With sufficient ingenuity you might even make a general
preparser in CLIST; if you do, it would probably be
welcomed on the CBT tape.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN