If you have an address to something, there may be a case where you need to store that address in a known location that is available to other programs/processes/etc.
This is what "anchor" means. It is the process of storing this address in a known location so that it is available for other programs of in the future. In the examples cited previously, if you store the address using the name/token callable services, another process can obtain that address using the same utility. Another option was to store the address in the TCBUSER field of the current TCB. This means that any program after that that is being run under the same TCB can obtain that address by getting the value of the TCBUSER field of the current TCB. David Logan -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Lindy Mayfield Sent: Sunday, January 13, 2008 2:41 PM To: [email protected] Subject: Re: Rexx external assembler functions and reentrancy Thanks everyone! Can someone give a hint what is meant by "anchor" in this case? Lindy -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Todd Burch Sent: 13. tammikuuta 2008 21:51 To: [email protected] Subject: Re: Rexx external assembler functions and reentrancy Another option is to getmain your storage once, and anchor it somewhere for later use. TCBUSER or a name/token pair are two obvious choices. You can also create a variable inside your rexx exec, from the assembler program, with your anchor and grab it each time your function gets called, assuming your function will be called over and over. Todd ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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

