Placing a job on the job queue
Jobs are placed on the job queue by either moving an existing job from one queue to another, or by submitting a new job. Use iSeries™ Navigator to move jobs between queues. Use the character-based interface to submit a new job.
Parent topic:
Managing job queues
Related concepts
How jobs are taken from multiple job queues How jobs are taken from a job queue
iSeries Navigator
To use the iSeries Navigator interface, the job must already exist in another job queue. Then you can move the job from one queue to another queue. (To place a new job on a job queue, use the command line interface.)
- In iSeries Navigator,
expandWork Management > Job Queues > All Job Queues.
- Right-click the job that you want to move. The Move window opens where you can specify the destination queue.
Character-based interface
The following is a list of character-based interface methods for placing a new job on the new job queue.
- Submit Job (SBMJOB): Allows a job that is running to submit another job to a job queue to be run later as a batch job. Only one element of request data can be placed on the new job's message queue.
The request data can be a CL command if the routing entry used for the job specifies a CL command processing program (such as the IBM-supplied QCMD program).
- Add Job Schedule Entry (ADDJOBSCDE): Automatically the system submits a job to the job queue at the time and date specified in the job schedule entry.
- Submit Database Jobs (SBMDBJOB): Submits jobs to job queues so they can be run as batch jobs. The input stream is read either from a physical database file or from a logical database file that has a single-record format. This command allows you to specify the name of this database file and its member, the name of the job queue to be used, and to decide whether jobs being submitted can be displayed by the Work with Submitted Jobs (WRKSBMJOB)
command.
- Start Database Reader (STRDBRDR): Read a batch input stream from a database and place one or more jobs on job queues.
- Transfer Job (TFRJOB): Move the current job to another job queue in an active subsystem.
- Transfer Batch Job (TFRBCHJOB): Move the current job to another job queue.