I once wrote an external routine that can break a character string into various individual parms and return them on the stack. It correctly parses strings with quotes, parens and comment markers.
But as you say, even I hardly ever use it. Most routines work perfectly well with a string of one-word arguments, and if I don't have to remember what order they come in and don’t have to label them, anything more is almost never required. --- Bob Bridges, [email protected], cell 336 382-7313 /* Having your book turned into a movie is like seeing your oxen turned into bouillon cubes. -John LeCarré */ -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Skip Robinson Sent: Wednesday, September 29, 2021 18:06 ....one of the most powerful features of CLIST is the mechanism by which parameters/options are passed by the user: positional or keyword, required or optional, with system prompting. I once saw a REXX routine that simulated the old command/CLIST parm processing. It was very complicated and hardly worth the trouble IMHO. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
