Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Work with Subsystem Jobs (WRKSBSJOB) command allows you to work with jobs running in subsystems in the system, and jobs that are on a job or output queue. If a user name is specified, only those jobs belonging to the specified user are shown. Also, if one of the jobs shown on the subsystem display is selected, additional information about that job can be displayed.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SBS | Subsystem | Name, *ALL, *JOBQ, *OUTQ | Optional, Positional 1 |
USER | User whose jobs to display | Name, *ALL | Optional |
OUTPUT | Output | Optional |
Top |
Specifies the name of the subsystem (or all subsystems) for which the job name and job status of each job currently active in the subsystem, or jobs on a job queue or output queue are worked with.
Note: This includes readers and writers, but does not include system jobs or subsystem monitor jobs.
Top |
Specifies the name of the user whose jobs are displayed.
Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Top |
Example 1: Working With All Jobs
WRKSBSJOB
This command, entered from a work station, allows you to work with all jobs in all subsystems, and the jobs on the job queues and output queues.
Example 2: Working With One User's Job
WRKSBSJOB SBS(QBATCH) USER(JONES)
This command allows you to work with all jobs in the QBATCH subsystem that belong to the user profile of the user named JONES.
Example 3: Working With Jobs on an Output Queue
WRKSBSJOB SBS(*OUTQ)
This command allows you to work with jobs that are on an output queue.
Top |
*ESCAPE Messages
Top |