× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Carsten,

 Sure, that would be appreciated.  Thanks!

 -mark

Original Message:
-----------------
From: Carsten Flensburg flensburg@xxxxxxxxxx
Date: Tue, 11 Apr 2006 19:51:12 +0200
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Retrieving active controlling subsystem


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.

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.