Have you ever wanted to be able to determine which JOBQ a particular job is running from? Issue the command WRKUSRJOB USER(*ALL) JOBTYPE(*BATCH) ASTLVL(*BASIC). This shows every batch job running, and those waiting to run, sorted by JOBQ. If you use PDM, you can set up a "User-Defined Option" to access this without having to get to a command line. In PDM, press F16 to go to "Work with User-Defined Options", then press F6 to create. Type WU for the option and key in the command. You can now access this handy function in PDM.
Side note: I also created a WU command to access this from any command line -- it worked great at Security Level 20. Now we're at 40 and the command blows up all over itself when I issue it. The other ways work fine - just the command-line version doesn't work at level 40. Go figure.
WRKUSRJOB USER(*ALL) JOBTYPE(*BATCH) ASTLVL(*BASIC)
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: Managing your iSeries.
Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.