IWMWQWRK – Query Work Service
A work manager can use IWMWQWRK to help identify where its transactions
may be executing. A caller can issue this for a work manager address
space that is having trouble executing transactions, and wants to
find out where transactions are abending.
A caller can narrow in on where the problem is occurring by using
the LU 6.2 token information contained in monitoring environments.
With this service, a caller can get:
- A list of LU 6.2 tokens
Specify SEARCH_BY=CONNTKN, and get
a list of LU 6.2 tokens for all work requests reflected in monitoring
environments owned by the current home address space. To do this,
the caller should provide the connect token of the address space in
the CONNTKN parameter.
- A list of ASIDs and/or STOKENs
Specify SEARCH_BY=LU62TKN
and provide a list of LU 6.2 tokens, and IWMWQWRK returns a list of
ASIDs and/or STOKENs representing owners of monitoring environments
initialized (via IWM4MINI) with an LU 6.2 token in the list.
The
list of LU 6.2 tokens must have been obtained on a previous call to
IWMWQWRK.
Monitoring environments owned by the home address
space which are related (by IWMMRELA) to other monitoring environments
are not searched.
Optionally, to narrow the search, a caller
can also provide the subsystem type or the subsystem instance in the
SUBSYS and SUBSYSNM parameters.
|