Submitting a job once
When you need to run a job once, whether immediately or at a scheduled date and time, use the Submit Job (SBMJOB) command. This method places the job on the job queue immediately.
To submit a batch job once, use the character-based interface. Command: Submit Job (SBMJOB)
The SBMJOB command submits a job to a batch job queue by specifying a job description and by specifying a CL command or request data, or specifying routing data to run a program. If you want to run a single CL command in a the batch job, use the CMD parameter on SBMJOB, which does syntax checking and allows prompting.
Example: In the following example, the SBMJOB command submits a job named WSYS, using the job description QBATCH, to the job queue QBATCH. The CMD parameter gives the CL command that will run in the job.SBMJOB JOBD(QBATCH) JOB(WSYS) JOBQ(QBATCH) CMD(WRKSYSSTS)
Parent topic:
Common job tasksRelated concepts
The submit job command