News Stay informed about the latest enterprise technology news and product updates.

WRKUSRJOB

WRKUSRJOB

Another of Vince Shank's favorite commands is

WRKUSRJOB USER(USERID) STATUS(*ALL, *ACTIVE, *JOBQ, *OUTQ)

He uses this command if his connection drops while he's in SEU. If that happens, he will need to end the job that is locking the source member, and the quickest way to find that job is by specifying the user and *active.

Search400.com doesn't have any tips using that exact command, but the site has a couple suggestions for WRKUSRJOB:

  • Which JOBQ was that job submitted to?
    Have you ever wanted to be able to determine which JOBQ a particular job is running from? Search400.com member Timothy Adair says to issue the command WRKUSRJOB USER(*ALL) JOBTYPE(*BATCH) ASTLVL(*BASIC).
  • Chasing down dead jobs with pending printouts
    Search400.com member Patrik Stenlund says if you issue this command:
    WRKUSRJOB USER(*ALL) STATUS(*OUTQ)
    you get a listing of all jobs that has spool files in any outq. You can work with these spool files, check them out, etc.

>> Return to list of commands.

Dig Deeper on iSeries programming commands

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

  • How do I size a UPS unit?

    Your data center UPS sizing needs are dependent on a variety of factors. Develop configurations and determine the estimated UPS ...

  • How to enhance FTP server security

    If you still use FTP servers in your organization, use IP address whitelists, login restrictions and data encryption -- and just ...

  • 3 ways to approach cloud bursting

    With different cloud bursting techniques and tools from Amazon, Zerto, VMware and Oracle, admins can bolster cloud connections ...

Close