I'm not sure that you can end the controlling subsystem by itself.  When
I do an ENDSBS SBS(QCTL) I get message CPF1053 -    Ending controlling
subsystem QCTL not allowed.

So if you RTVSYSVAL QCTLSBSD then an ENDSBS for the QCTLSBSD value you
can monitor for CPF1053.  I'm not sure you even need to go that far, you
can probably just start ending active subsystems and monitor for the
CPF1053.

Regards,
 
Scott Ingvaldson
iSeries System Administrator
GuideOne Insurance Group


-----Original Message-----
date: Mon, 10 Apr 2006 17:37:50 -0400
from: "mlazarus@xxxxxxxx" <mlazarus@xxxxxxxx>
subject: Re: Retrieving active controlling subsystem

Mark,

 I'm looking for the "current active" controlling subsystem.  If I do a
CHGSYSVAL QCTLSBSD, then I believe that the retrieve will not give me
which one is currently active, rather which one *will* be active.

 -mark

Original Message:
-----------------
From: Mark S. Waterbury mark.s.waterbury@xxxxxxx
Date: Mon, 10 Apr 2006 17:03:52 -0400
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Retrieving active controlling subsystem


RTVSYSVAL QCTLSBSD ?

----- Original Message ----- 
> From: <mlazarus@xxxxxxxx>
> To: <midrange-l@xxxxxxxxxxxx>
> Sent: Monday, April 10, 2006 4:36 PM
> Subject: Re: Retrieving active controlling subsystem
>

> Michael,
>
> That code works (with modifications) to get the complete list of 
> subsystems.  It does not tell me which one is the controlling
subsystem.
>
> -mark
>
> Original Message:
> -----------------
> From:  Michael_Schutte@xxxxxxxxxxxx
> Date: Mon, 10 Apr 2006 16:14:27 -0400
> To: midrange-l@xxxxxxxxxxxx
> Subject: Re: Retrieving active controlling subsystem
>
>
> Does this help?
>
> http://archive.midrange.com/rpg400-l/200304/msg00127.html
>
> You can specify the job name by replacing the
>
> '*ALL      *ALL      *ALL      '
>
> With what you want to look for.
>
> Michael Schutte
> Work 614-492-7419
> email  michael_schutte@xxxxxxxxxxxx
>
> ----------------
>
> 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.
>
> -mark


DISCLAIMER:
This message and accompanying documents are covered by the Electronic 
Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information 
intended for the specified individual(s) only. This information is 
confidential. If you are not the intended recipient or an agent responsible for 
delivering it to the intended recipient, you are hereby notified that you have 
received this document in error and that any review, dissemination, copying, or 
the taking of any action based on the contents of this information is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by e-mail, and delete the original message.


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.