Display Active and Waiting Jobs and Corresponding Job Queues

The final installment of my Display Work Management commands suite is the Display Job Queue Jobs (DSPJOBQJOB) command.

Did you ever wonder what JOBQ an active job came from? This can be really important when you try to decide whether a job in a queue needs to be moved to another queue. If you just move a job to another queue that cannot release an additional job, you’re still in the same boat after you move it. This command shows you which jobs came from which job queues, and which jobs are backed up in the job queue.

The command lists all jobs currently waiting in the queue and jobs that are active that came from that job queue. You can run the DSPJOBQJOB command from a command line and from the Display Subsystem Job Queue (DSPSBSJOBQ) command’s display panel. The DSPSBSJOBQ command was presented in the previous installment of this article series, links to the previous utilities are provided at the end of this article.

Download the save file containing the source code.

Read the entire article

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s