No, the evaluation of the operand is the same as for any other expression and 
the interpretation of the evaluated operand is the same as for any other 
statement in REXX, including the treatment of apostrophes and quotation marks:

interpret 'foo = "bar baz"; say "foo="foo'


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

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of CM 
Poncelet [[email protected]]
Sent: Monday, September 13, 2021 7:04 PM
To: [email protected]
Subject: Re: REXX - Interpret or Value - Which is better?

I meant IIRC INTERPRET returns the lowercase values of variables in
uppercase.
AFAIK "ALLOCATE DD(SYSIN) DSN(*)" is not in *CLIST* format - and I have
no idea what that would have to do with preserving lowercase chars.
A *CLIST* format would be something like "ALLOC FI(SYSIN)
DA('SYS1.PARMLIB(IEAAPF00)') SHR KEEP".

BTW As I said, I have had no access to a mainframe for 8+ years. But
feel free to verify my adhoc sample *CLIST* code if you have access to a
mainframe.

Cheers, over and out.



On 13/09/2021 22:34, Paul Gilmartin wrote:
> On Mon, 13 Sep 2021 21:48:11 +0100, CM Poncelet  wrote:
>>      ...
>> Yes, IIRC INTERPRET returns everything in uppercase
>>
> It definitely does not.  If you were able to try:
>     interpret 'X = ''Mixed Case'''
>     say X
>
> you would see:
>     Mixed Case
>
>> ... - whereas CLIST's "CONTROL CAPS ASIS" leaves lowercase data 'as is'.
>>
> Hardly.  How about:
>     CONTROL CAPS ASIS
>     ALLOCATE DD(SYSIN) DSN(*)
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> .
>

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

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

Reply via email to