Has been an interesting discussion. What I originally wanted to do was to
establish a PC routine once, the 1st time my started task came up after an IPL.
The same routine could be used by multiple copies of the started task, if the
user decided they wanted to or needed to operate with more than one copy.
Examination of the control blocks that establish and document the PC function
in a running z/OS system seems to imply some mechanism to establish ownership
of a PC by another address space. For instance, PCAUTH owns LX value 000000.
The MVS diagnosis manual contains a table that describes all the PC's that can
be entered using that LX. To me, they do not all logically fit there. I
would have thought MASTER for some of them.
So, I will have each started task establish at initialization and tear down at
termination the same routine. Will wind up with two or more copies of the same
code, but will satisfy the requirements of the operating system, and keep
things 'according to hoyle'.
--Dave
----------------------------------------------------------------------
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