Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Work with User Jobs (WRKUSRJOB) command allows you to work with a list of selected user jobs.
Depending on the values you specify on the STATUS, ASTLVL, and JOBTYPE parameters, you can use this command to perform the following tasks:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
USER | User whose jobs to display | Name, *, *ALL | Optional, Positional 1 |
STATUS | Status of user jobs | *ALL, *ACTIVE, *JOBQ, *OUTQ | Optional, Positional 2 |
OUTPUT | Output | Optional, Positional 3 | |
JOBTYPE | Job type | *ALL, *INTERACT, *BATCH | Optional |
ASTLVL | Assistance level | *PRV, *USRPRF, *BASIC, *INTERMED | Optional |
Top |
This parameter allows you to work with user jobs defined by the user profile which initiated the job. User jobs include interactive jobs, submitted batch jobs, communications-evoked batch jobs, MRT batch jobs, and autostart jobs. User jobs do not include system jobs, subsystem monitor jobs, spooling readers, or spooling writers.
Top |
Specifies the status of the user jobs being worked with.
Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Top |
Specifies the type of the user jobs shown.
Top |
Specifies which user interface to use.
Top |
Example 1: Working with a List of Selected Jobs
WRKUSRJOB USER(PGMR12)
This command allows you to work with a list of jobs that are running with the user profile name PGMR12.
Example 2: Working with a List of All Jobs
WRKUSRJOB USER(*ALL) STATUS(*JOBQ)
This command allows you to work with a list of all the jobs on job queues.
Example 3: Working with a List of Interactive Jobs
WRKUSRJOB USER(*ALL) STATUS(*ACTIVE) JOBTYPE(*INTERACT) ASTLVL(*BASIC)
This command allows you to work with a list of signed-on users that includes signed-off users with printer output and suspended interactive group jobs.
Top |
*ESCAPE Messages
Top |