If one opts to use one of the CL solutions,
1) How often do you run them?
2) Do you have a scheduled job that checks periodically?
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of dlclark@xxxxxxxxxxxxxxxx
Sent: Wednesday, August 31, 2016 3:09 PM
To: Midrange Systems Technical Discussion
Subject: Re: Is there a way for a CL program to check whether a subsystem is up?
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 08/31/2016
03:03:07 PM:
And if you
RTVSYSVAL QCTLSBSD
and check the status of that you can find if you're running in
"restricted" state, like the result of ENDSBS *ALL.
(Not everyone uses QCTL. In fact, only a few of our lpars do.)
The version I posted prevents having to go through that because it uses the SBSI0200 format which will return the *RESTRICTED status for all subsystems without having to know the actual controlling subsystem.
Sincerely,
Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300
Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331
*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary information. If you have received this message in error, please immediately notify the sender and delete and destroy the message and all copies. All unauthorized direct or indirect use or disclosure of this message is strictly prohibited. No right to confidentiality or privilege is waived or lost by any error in transmission.
*********************************************************************************************
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.