Tracing and writing a logging exit program are really your only options. When this job is used for remote commands, they are all logged in the job log. But the QZRCSRVS job does double-duty, it also services remote program calls and those calls don't leave much in the job log.
Client-side traces tend to be more readable but you have to know what the client is, be on the client machine and be able to invoke the right sort of trace (java toolbox, cwbcotrc, etc.) before the client application starts.
------------------------------
Michael Swenson
Software Engineer
IBM
------------------------------
Original Message:
Sent: Wed March 13, 2024 07:54 PM
From: Michael Cramer
Subject: Trace connection
Hi Michael,
would another tool help in finding out what's happening behind those jobs? I don't really want to open up a ticket every time this happens.
------------------------------
Michael Cramer
------------------------------
Original Message:
Sent: Fri March 08, 2024 04:39 PM
From: Michael Swenson
Subject: Trace connection
I should also point out that the watch you set up would stop the trace before it captured much of anything that would have been going on in that job. We usually only use the watch option to stop a trace when some error message we are waiting for happens.
------------------------------
Michael Swenson
Software Engineer
IBM
Original Message:
Sent: Fri March 08, 2024 04:18 PM
From: Michael Cramer
Subject: Trace connection
Hi Michael,
Thanks for your answer. I did find both of the spool files but nothing relevant in there. What's the best way to see what these QZRCSRVS jobs are doing on the system?
------------------------------
Michael Cramer
Original Message:
Sent: Fri March 08, 2024 11:15 AM
From: Michael Swenson
Subject: Trace connection
Hello Michael,
The watch that you have set up stops the trace as soon as any message is logged in the job log. The trace will stop automatically and print the trace when that happens. The output is a pair of spool files, QPCSMPRT (unformatted raw LIC trace) and QSYSPRT formatted trace. The trace table name (QSCCNN0050 in your case) is a LIC table that is used to buffer the data when the trace is running. When the trace ends, the table is deleted. If you start a trace like this and want to know if it is still running, run the command WRKTRC *ALL and you can see the status of the trace (ACT-ENB when it is running). It will not be listed once the watch ends the trace.
------------------------------
Michael Swenson
Software Engineer
IBM