|
Hello Mark, - You could use the Open List of Jobs (QGYOLJOB) API to list all subsystem monitor jobs (jobtype "M") and ask the API to sort on job number in ascending order. That way the first subsystem monitor job returned would name the first subsystem that was started during the previous IPL - or in other words the current controlling subsystem. I've written a small sample program to demonstrate the above technique, let me know if you want a copy. Best regards, Carsten Flensburg ----- Original Message ----- From: <mlazarus@xxxxxxxx> To: <midrange-l@xxxxxxxxxxxx> Sent: Monday, April 10, 2006 9:19 PM Subject: Retrieving active controlling subsystem > How would I go about retrieving the *active* controlling subsystem? If > the QCTLSBSD system value is changed, retrieving that value won't reflect > the current reality. > > I'm looking for this info becuase I want to automate an orderly shutdown > of active subsystems, but do not want to end the controlling *SBS. TIA.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.