|
When reading through QHST, the message that you receive that the job started also gives the date and time the job entered the system. With this information, you should be able to retrieve how long the job "sat" in the job queue before it actually started in the system.
As far as parameters submitted with, it can get al little extravagant, but here is an option. Hold the job queue that these jobs get submitted into. Have a program running constantly that monitors the job queue for entries. Use the job number as the key for this. As each job is placed in the job queue, execute the following command through the running job: WRKUSRJOB USER(*ALL) STATUS(*JOBQ) OUTPUT(*PRINT)
Copy the spool file generated to a physical file. Read the physical file by job number and then do a DSPJOB job(&number/User/Jobname) output(*print) option(*joblog) which will give you the parameters that the job was submitted with. This should give you the parameters that you are looking for. Hope this helps.
==================================
MORE INFORMATION ON THIS TOPIC
==================================
The Best Web Links: Tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Read this Search400.com Featured Topic: Monitoring your iSeries system .
Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.
|