Problem solve Get help with specific problems with your technologies, process and projects.

Learn which JobQ an active job is running from

Here's a simple command that helps you determine which JobQ an active job is running from?

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.


This was last published in March 2005

Dig Deeper on Systems Management Tools

Join the conversation

1 comment

Send me notifications when other members comment.

Please create a username to comment.

Very nice - exactly what I was looking for.
Cancel

-ADS BY GOOGLE

SearchDataCenter

Close