I'll bite, since no one else has.  What's wrong with Interpret/Value()?  I have 
used both to great benefit before, when there didn't seem to be a good--or 
possible--alternative.  I thought they were both very nice features of the 
language--to be used very sparingly (because I believe they are CPU-costly).  
What other reason not to?  Enlighten me.

First Horizon Bank
Mainframe Technical Support

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: Thursday, March 19, 2020 12:40 PM
To: [email protected]
Subject: Re: Does anybody remember CLIST?

[External Email. Exercise caution when clicking links or opening attachments.]

On Thu, 19 Mar 2020 22:20:23 +0800, David Crayford wrote:

>Subject: Does anybody remember CLIST?
>
Not if I can help it.

>I'm trying to convert CLIIST to REXX and CLIST has symbolic 
>substitution. I've used this before in NCL but it's a long time ago.
>
>Can anybody tell me what this does and translate to REXX? I'm guessing 
>I need to use interpret or value()!


On Thu, 19 Mar 2020 14:59:29 +0000, Seymour J Metz wrote:

>No, in many cases you can use compound variables to avoi9d using value().
>
+1
INTERPRET is even worse.

>The two ugly issues for converting CLIST to REXX are keyword parameters and 
>the stack interface (see DATA PROMPT).
>
Also, the modal interface with antique EDIT.  Likewise CMS EXEC with EDIT.

>SET VARNX = &&amp;VARN&GLCV
>IF (&VARNX = &SYMBOL) THEN DO
>   SET VARFND = 1
>   SET VARVX  = &&amp;VARV&GLCV
>   SET SYMBOL = &STR(&VARVX)
>END
>
It's ironic that people comfortable with CLIST (example above) are contemptuous 
of C:
    https://www.gnu.org/fun/jokes/unix-hoax.html

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN
Confidentiality notice: 
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), or 
the employee or agent responsible for delivery of this message to the intended 
recipient(s), you are hereby notified that any dissemination, distribution, or 
copying of this e-mail message is strictly prohibited. If you have received 
this message in error, please immediately notify the sender and delete this 
e-mail message from your computer.


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

Reply via email to