Dear Ignacio
I Google with "ibm i job watcher file name" and find Job Watcher's database file name in the URL on STRJW command: Job Watcher collects data on a sampling basis and writes the collected data to a set of database files. The file names all begin with the letters 'QAPYJW'.
To locate in which library these files are, you can use WRKOBJ command or use STRJW+F4 and look at the current value of its LIBRARY parameter.
You can download these files with File Transfer tool in ACS or SQL through an ODBC/JDBC connection, all of which you can automate. A complete list of QAPYJW files and sample extraction SQL can be found in this Job Watcher redbook:
https://redbooks.ibm.com/abstracts/sg246474.html Keep in mind that the content of this redbook may not be up to date as it is now archived.
What kind of performance information you are looking for? In my long experience with analyzing IBM i performance data, I find that using the standard IBM i performance collection services files (QAPM*) are useful for identifying the performance issue most of the time. I rarely needed to use JW data. A list of the QAPM files is here :
https://www.ibm.com/docs/en/i/7.4?topic=csdf-collection-services-data-files-system-category-file-relationshipshttps://www.ibm.com/docs/en/i/7.4?topic=performance-collection-services-data-files------------------------------
Right action is better than knowledge; but in order to do what is right, we must know what is right.
-- Charlemagne
Satid Singkorapoom
------------------------------
Original Message:
Sent: Thu September 29, 2022 05:25 AM
From: Ignacio García Bieco
Subject: Extract information from JobWatcher
Hello,
I am trying to find out how to extract the files generated by Job Watcher in order to interpretate the information in an external tool. The problem is that I would like to automatize the extraction and the only way that I know is to download the files manually with the iDoctor interface. Do you know where the files are located?
Thanks,
------------------------------
Ignacio García Bieco
------------------------------