Dave said : "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'."
The big advantage of this approach, of course, is that you will be able to test a new version of the PC-routine in a test version of your server without affecting the "live" one on the same system. Rob Scott Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.2305 Email: [email protected] Web: www.rocketsoftware.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Dave Day Sent: 29 September 2009 17:26 To: [email protected] Subject: Ownership of PC routines---what I will do 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 ---------------------------------------------------------------------- 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

