I submitted an RFE to request IBM i Services for the information these APIs return.
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=136156
Dawn
On Aug 30, 2019, at 10:50 AM, Dawn May <dawnmayican@xxxxxxxxxxx<mailto:dawnmayican@xxxxxxxxxxx>> wrote:
Hi Paul,
The Retrieve Watch Information (QSCRWCHI) and Retrieve Watch List (QSCRWCHL) APIs can be used to obtain information about watches.
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/apis/qscrwchl.htm
This retrieve watch list will return a list of active watch sessions. You could write a program to periodically call this API and check to see if the watch is still active.
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/apis/qscrwchi.htm
The retrieve watch information API returns information about a specific watch session.
Dawn
On Aug 30, 2019, at 9:01 AM, Steinmetz, Paul via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>> wrote:
I have several WRKWCH setup for various processes.
Occasionally, the WRKWCH may end due to an unexpected error in the watch program.
This results in other downstream issues.
Because the WRKWCH are not jobs, I can't monitor for a specific job ending or not running.
Is there another method to monitor for if a WRKWCH ended or Is not running?
Thank You
_____
Paul Steinmetz
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx<mailto:psteinmetz@xxxxxxxxxx>
http://www.pencor.com/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.