WRKSBMJOB (Work with Submitted Jobs)
WRKSBMJOB Command syntax diagram
Purpose
The Work with Submitted Jobs (WRKSBMJOB) command allows you to work with the status of all jobs submitted at a work station, in a job, or under a user profile. Jobs submitted with DSPSBMJOB(*NO) specified on the Submit Job (SBMJOB), Submit Database Jobs (SBMDBJOB), or Submit Diskette Jobs (SBMDKTJOB) commands are not displayed by this command.
Optional Parameters
- SBMFROM
- Specifies the type of submitted jobs that are displayed. Jobs of the specified type that were submitted with the parameter DSPSBMJOB(*NO) specified on the SBMJOB, SBMDBJOB, or SBMDKTJOB commands are not included.
*USER: Jobs that were submitted from a job having the same user profile as the job in which this command is entered are displayed.
*JOB: Jobs that were submitted from the same job in which this command is entered are displayed.
*WRKSTN: Jobs that were submitted from the same work station at which this command is entered are displayed.
- OUTPUT
- Specifies whether output is displayed at the requesting work station or printed with the job's spooled output. More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT: The output is printed with the job's spooled output.
Example for WRKSBMJOB
WRKSBMJOB SBMFROM(*USER)This command allows you to work with or change a list of jobs that are submitted by a job running under the same user profile as the job where this command is run.
Error messages for WRKSBMJOB
*ESCAPE Messages
- CPF9845
- Error occurred while opening file &1.
- CPF9846
- Error while processing file &1 in library &2.
- CPF9847
- Error occurred while closing file &1 in library &2.
- CPF9850
- Override of printer file &1 not allowed.
- CPF9851
- Overflow value for file &1 in &2 too small.
- CPF9871
- Error occurred while processing.