How do you determine which JobQ an active job is running from? Easy. The command WRKUSRJOB USER(*ALL) JOBTYPE(*BATCH) ASTLVL(*BASIC) shows you all active batch jobs and the JobQs they are running under. It also shows you the jobs in each JobQ waiting to run and the sequence in which they will run. And if any batch job has a message waiting, it will show you that also.
You can create a PDM option (I created "WU") so this versatile function can easily be accessed from there. I also created a "WU" command so I can run it from any command line.
Give it a try - you'll love it!
WRKUSRJOB USER(*ALL) JOBTYPE(*BATCH) ASTLVL(*BASIC)
MORE INFORMATION ON THIS TOPIC
The Best Web Links: Tips, tutorials and more.
Visit the ITKnowledge Exchange and get answers to your systems management questions fast.
Read this Search400.com Featured Topic: Take control of your iSeries.
Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.