Andy,

IEANTRT is documented to NOT change registers R2-R13, so their slots in the 
passed savearea can be used to format the required parameter list. Especially 
since the TOKEN_NAME and TOKEN_VALUE fields can share the same storage:

RT_TOKEN_NAME       DS 0XL16                    
RT_TOKEN_NAME_PFX   DS  XL8                     
RT_TOKEN_NAME_SFX   DS  XL8                     
                   ORG RT_TOKEN_NAME <- overlap!
RT_TOKEN_VALUE      DS  XL16      
 
Not that I am happy with the approach, but it works.

Thanks!
-Victor- 

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. In that context name/token has a complication - the last
>time I looked, simply calling the name/token services needed some writeable
>storage to create the parameter list, which is a bit tricky if you don't yet
>know where your working storage is.
>
>I can think of ways to do it, but none that I would be really happy with.

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