3.1.4.7 Printing
-
printjob(ptj) -n jobname | -j jobid | -c job_class |-a [-v][-t JCL|KSH][-m] | -l
- Displays the existing jobs. If no option is specified, it displays all jobs. The options are as follows:
-
-n jobname
: Display jobs with given job name -
-j jobid
: Display a particular job information -
-c job_class
: Display a particular class jobs information -
-a
: Display all jobs -
-v
: Verbose mode -
-t JCL|KSH
: Display JCL|KSH jobs -
-m
: Print the CPU time usage of each step in one JOB -
-l
: Display the number of jobs for each job class in each job status type
Note:
-l
option is not supported when you use /Q to store and manage metadata of Batch jobs. -
-
holdjob(hj) -n job name | -j jobid | -c job_class | -a
- Hold the specified jobs which are in
CONVING
orWAITING
status. The options are as follows:-
-n jobname
: Hold jobs with given job name -
-j jobid
: Hold a particular job -
-c job_class
: Hold a particular class jobs -
-a
: Hold all jobs
-
-
releasejob(rlj) -n job name |-j jobid | -c job_class | -a
- Releases the jobs in
HOLD_WAITING
orHOLD_CONVING
status so that they can be picked up byARTJESCONV
for conversion orARTJESINITIATOR
for running. The options are as follows:-
-n jobname
: Release jobs with given job name -
-j jobid
: Release a particular job -
-c job_class
: Release a particular class jobs -
-a
: Release all jobs
-
-
canceljob(cj) -n job name |-j jobid | -c job_class l -a
- Cancels a job and moves it to the output queue. For running jobs, this command informs the related
ARTJESINITIATOR
to invoke EJR with"-k"
option. Other jobs are moved directly to the output queue. The TuxJES system assumes the job is terminated when EJR returns. The options are as follows:-
-n jobname
: Cancel jobs with given job name -
-j jobid
: Cancel a particular job -
-c job_class
: Cancel a particular class jobs -
-a
: Cancel all jobs
-
-
purgejob(pgj) -n job name |-j jobid | -c job class | -s job status | -a
- Completed jobs in the output queue are moved to the purge
queue. For other jobs,
purgejob
has same effect ascanceljob
. Thepurgejob
command does not purge the job directly. TheARTJESPURGE
server deletes the job from the TuxJES system. IfARTJESPURGE
is not started, the job remains in the output queue. -
changeconcurrent(chco) -g groupname -i serverid -n concurrent_num
- Changes the number of maximum concurrent executing jobs for the
ARTJESINITIATOR
server which is designated by the -g and -i options. The change takes effect with no need to restart theARTJESINITIATOR
server. -
printconcurrent(pco) -g groupname -i serverid
- Displays the number of maximum concurrent executing jobs for
the
ARTJESINITIATOR
server which is designated by -g and -i options. -
event (et) [-t C,E,P,L,A] on|off
- This command tells
artjesadmin
to subscribe particular job event. The options are:-
C
: job conversion complete event; the event name isARTJES_JOBCVT
-
E
: job execution finish event; the event name isARTJES_JOBEXEC
-
P
: job purge event; the event name isARTJES_ARTJESPURGE
-
L
: job cancel completed event; the event name isARTJES_JOBCANCEL
-
A
: all supported events. If the event is set to "on", A is the default. -
on |off
: The submission is on or off. the "on" setting can be used with the-t
option. "off" will unsubscribe all event subscriptions.
-
-
verbose(v) on|of
- Turn on /off verbose mode.