- I have the zSeries API documentation and the BCPii specific zOS docs but 
I am not able to find items related to returned values, for example 
HWIQUERY of HWI_OPERSTAT.  I can probe and knowing the state of what I'm 
seeing can infer what I am getting but I'd like to find wherever these 
flags are defined to make sure I'm writing my app correctly.  For example, 
querying a deactivated lpar I get x'0008', an activated lpar that's varied 
from the sysplex I see x'0002' and a running CF gives me x'0001'.  That's 
great but I am concerned about what I don't know here.  Where can I find 
this stuff?

- Event notifications... I'd like to automate the responses when I start 
my sysplex on the DR machines.  Activating and IPLing is pretty easy. 
Receiving events, I find not so easy.  I do not have a C compiler at my 
disposal, so at least that part is easier... but the scheme I am not sure 
how to approach.  I believe I'll call the event notification exit by 
virtue of the HWIEVENT registration, and I'm guessing that I let the exit 
do whatever processing I want.  Two thoughts come to mind there.  I can 
wait for the activation to complete by looping a bunch of queries until I 
get my x'0001' (or hit what loop limit I set) or I can register for the 
state change.  How to return to my HWIEVENT registering program the state 
change so it can proceed to do the rest of its business?  This is where my 
program management skills are showing their weakness.  I'm guessing 
something like feeding Reg15 a return code would work but that has its 
limitations when I start dealing with things not so straightforward. 

I'd really like to register for operating system messages and process the 
various WTORs as they appear (IEA347A, IXC this and that for CFs, couple 
datasets, etc., subduing automation and so on... remember I don't have 
ProcOps on the first system in).   When I call the exit, is it setting up 
connections of its own and processing the ENF info itself?  The examples 
in the manuals are pretty amusing, responding with WTOs to the events, but 
that'd be a bit useless in this case. 

Probably the best answer I'm looking for is which docs I should be looking 
at so I can figure this stuff out... mostly I'm looking to shorten the 
research path as much as I can.  Thanks... 

Thomas Ambros
Operating Systems and Connectivity Engineering
518-436-6433



Email Classification: KeyCorp Internal
This communication may contain privileged and/or confidential information. It 
is intended solely for the use of the addressee. If you are not the intended 
recipient, you are strictly prohibited from disclosing, copying, distributing 
or using any of this information. If you received this communication in error, 
please contact the sender immediately and destroy the material in its entirety, 
whether electronic or hard copy. This communication may contain nonpublic 
personal information about consumers subject to the restrictions of the 
Gramm-Leach-Bliley Act. You may not directly or indirectly reuse or redisclose 
such information for any purpose other than to provide the services for which 
you are receiving the information. 127 Public Square, Cleveland, OH 44114


If you prefer not to receive future e-mail offers for products or services from 
Key 
send an e-mail to mailto:[email protected] with 'No Promotional E-mails' in 
the 
SUBJECT line.

----------------------------------------------------------------------
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

Reply via email to