>1)make the assembler routine re-entrant.  Successive LOADS will up the 
>  use count, but not actually bring in a new module.

This will not help. I don't know how LINKMVS is implemented but from the
word LINK in its name I would comclude that it is supposed to work like
the LINK SVC: Load-give control-delete. A fresh copy would be loaded in
every case.


Create a second module. The one called from REXX is trying to read a 
Name/Token pair. If not found, it loads the second module and stores its
entry point address in the above mentioned Name/Token pair. The first 
module will then find the Name/Token pair on subsequent calls and can 
branch directly to the already loaded module.

If, what I conlcude from your initial post, your current implementation
requires an OPEN and a CLOSE call, then you can connect the load and N/T
pair creation to OPEN and the N/T pair deletion and the unload to the
CLOSE call.

-- 
Peter Hunkeler
Credit Suisse

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