CLIST has pretty much the same parsing capabilities as TSO. I think that's 
natural as both types of command processors were developed on the same 
platform. REXX OTOH was imported to MVS from elsewhere--VM? I miss those 
TSO/REXX capabilities. 

I once encountered a 'REXX preamble' that provided those parsing capabilities. 
Really complex code. I haven't seen it for years. Not sure I would line up 
today to adapt it for modern use. VM denizens don't even understand this 
conversation. 

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
[email protected]

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Charles Mills
Sent: Thursday, November 19, 2020 11:30 AM
To: [email protected]
Subject: (External):Has anyone integrated Rexx with IKJPARS?

*** EXTERNAL EMAIL - Use caution when opening links or attachments ***

It would appear to be a lot of work, but it would seem that "TSO format command 
parsing" and Rexx would be a natural marriage.

I have never used IKJPARS, so I don't claim to be an expert, and others might 
disagree.

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

Am I missing something?

It would be great if one could define the expected parameters and their format 
to Rexx in some systematic way, parse the user's input, and get back either 
parameter values in stem variables, or an error message to present to the user.

Any suggestions?

Charles


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to