On Fri, 5 Jun 2009 10:03:17 +0200 Gilbert Saint-Flour <[email protected]>
wrote:
:>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
Once you step out of the box, you can write a CLIST function. Sadly it appears
that you still need to follow the single load module approach.
--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com
Director, Dissen Software, Bar & Grill - Israel
Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.
I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
----------------------------------------------------------------------
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