On Thursday 04 June 2009 16:56, Paul Gilmartin wrote:
>>I'm trying to find a way to translate this REXX instruction to
>>a CLIST equivalent ...
>>
> Why?
I wrote a bunch of CLISTs until I started writing REXX execs in 1991, but I
wrote very few CLISTs since then. I wish a REXX exec could start with PROC,
like a CLIST can, so from time to time I write a CLIST just because of PROC.
BTW, this is the less-complex way I found to simulate REXX STRIP in a CLIST:
SET XXX = &STR(' AA-BB ')
REXXTRY RETURN STRIP(&XXX)
SET XXX=&STR(&RESULT)
And this is the pure-REXX equivalent :
XXX = ' AA-BB '
XXX = STRIP(&XXX)
REXXTRY is described here: http://gsf-soft.com/Freeware/REXXTRY.shtml
--
Gilbert Saint-Flour
GSF Software
http://gsf-soft.com/
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html