On Wed, 21 Apr 2010 10:56:15 -0500, Ward, Mike S <[email protected]> wrote:
>Hello all, I can obtain memory that lasts for the duration of a job, but >how can I share that memory with different routines that are called by >that job. Is there some way of setting a pointer that would last for the >duration of the job? Or even longer... Take a look at the shmemget() and related C runtime library functions. These are Unix-type shared memory segments and they work in regular MVS batch program too. Be sure to clean up after your self, because un-freed segments tend to remain until the next IPL... Cheers, Jantje. ---------------------------------------------------------------------- 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

