MOVJOB MOVE JOB TAAJOFS |
The Move Job command moves one, generic, or all jobs from one job
queue to another. Selection may be made on a specific or generic job
or user name. MOVJOB simplifies moving jobs.
You must have *JOBCTL special authority to use MOVJOB.
A typical command would be:
MOVJOB FROMJOBQ(JOBQ1) TOJOBQ(JOBQ2)
All jobs in JOBQ1 would be moved to JOBQ2.
MOVJOB escape messages you can monitor for
------------------------------------------
TAA9891 No jobs exist in the From job queue
TAA9892 One or more errors occurred moving jobs
Escape messages from based on functions will be re-sent.
MOVJOB Command parameters *CMD
-------------------------
FROMJOBQ The qualified name of the job queue to move jobs
from. The library value defaults to *LIBL. A
specific library or *CURLIB may also be used.
TOJOBQ The qualified name of the job queue to move jobs to.
The library value defaults to *LIBL. A specific
library or *CURLIB may also be used.
JOB The name or generic name of the job to be moved.
The default is *ALL for all jobs.
USER The name or generic name of the user whose jobs
should be moved. The default is *ALL for all jobs.
Restrictions
------------
You must have *JOBCTL special authority to use MOVJOB.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKGENERC Check generic
CHKJOBCTL Check *JOBCTL special authority
CHKOBJ3 Check object 3
CVTJOBQ Convert job queue
EDTVAR Edit variable
RSNLSTMSG Resend last message
RTVJOBQA Retrieve job queue attributes
SNDCOMPMSG Send completion message
SNDESCINF Send escape information
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
MOVJOB *CMD TAAJOFS QATTCMD
TAAJOFSC *PGM CLP TAAJOFSC QATTCL
|
Added to TAA Productivity tools October 15, 2011