On Sun, 13 Jan 2008 21:34:34 -0600, Andy Wood 
<[EMAIL PROTECTED]> wrote:

>...
>The question of where to stash something arose in this thread when 
it was
>suggested that storage could be acquired once, and not every time 
the
>function was called. ...

This may be of no use, but remember that the REXX ENVBLOCK 
contains a "user" parm that is unused by REXX routines.  If it's 
not already set you can allocate your storage and save the address
there.

Things get more complicated if it might already be set.   You'd have
to have some way of telling if it is yours.   (Take the following with
a very large grain of salt.  Maybe a block of salt.)  If you can tell
the value in ENVBLOCK does not belong to you, maybe you can
create a new environment to use.  Then you have to be able to 
find your environment the next time you are invoked.

It's been almost 20 years since I'written REXX functions so I don't 
remember any of the details to go with the above comments.  :-(

Pat O'Keefe

----------------------------------------------------------------------
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

Reply via email to