× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I also need the cause from the message with the variables included.

Example
Below message is occurring in an InfoPrint Writer Job log.
I've created the WRKWCH to monitor for the PQT3073 ; message fileQSYS/QPQMSGF.
Below is the message with the data.

PENCOR05 CM_MONTHLY Error detected while processing spooled file. Processing of the print request ended.
Cause . . . . . : An error was detected while processing the spooled file portion of a print request for file CCFT8141 number 000001 in job 790361/CPAGDEPP/CM_PURGE created on system PENCOR05 at 08/29/18 10:13:28. Processing of the print request ended.
Recovery . . . : See the job log for previous messages containing more details. Correct the error and submit the print request again.
Technical description . . . . . . . . : The internal message identifier (ID) is PUPRS104.

In the WRKWCH &EVENTDATA, beginning in +451, are all the message variables.

I need to send an email with message and message variables included.
Is this available or do I need to construct the message with the variables?

Paul


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Steinmetz, Paul
Sent: Tuesday, September 04, 2018 1:32 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: WRKWCH suggestions to replace HALCYON joblog monitor

Is the message text for the Message ID that triggered the WRKWCH included in the WRKWCH data?
I'm not finding it in of the WRKWCH variables.
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_61/apis/xwchevnt.htm

If not, can it retrieved, with the variables?

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Steinmetz, Paul
Sent: Friday, August 31, 2018 10:52 AM
To: 'Midrange Systems Technical Discussion'
Subject: WRKWCH suggestions to replace HALCYON joblog monitor

I need to improve the performance of my current Halcyon joblog monitors.
Currently, HALCYON dumps the joblog to a temp file, then scans the file for desired message id.
From a functionality standpoint, works well, offers many select options.
From a performance standpoint, not acceptable, causing TB disk written/day.

Reviewed and tested various SQL using IBM system catalogs.
Unsuccessful.

It's been suggested from several in the group to use IBM WRKCH.
I've done a few over the years, works well.

I currently have 3 joblog monitors.
1) Info print writer - Incorrect Data was returned by mapping program - PQT3073 PQT4154
2) Netserver Users Connection - job QZLSFILE - CPIAD12
3) SSL RXS_Transmit() encountered unexpected transmission error - KTA0203

Will be adding more.

Here's the main question.

1) Should a separate WRKWCH be created for each monitor or should they be combined into a single WRKWCH.
2) Pros/cons.
3) Performance impact of the WRKWCH

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
http://www.pencor.com/


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.