I assume you have the program linked as non-reentrant? If so, examine your C or L/E compile/runtime options as there may be something there that is forcing the rununit to be reentrant. If you still can't see it, change your driver to assembler (or add another) and do a load/branch for the subroutine. This should definately load it into modifiable storage. If you call it multiple times do the load on first time only and save the address.
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html