3.1.4.5 Sub Commands

artjesadmin supports the following sub commands:

submitjob (smj) -i|-I scriptfilename [-t timeout] [-o ejr option]
Submits a job to TuxJES system. The scriptfilename parameter is the job script to be submitted.

Note:

artjesadmin is not responsible for scriptfile propagation. It must be located on a shared file system if the conversion and execution are not on same machines. The options are as follows:
  • -i scriptfilename: The option specified to submit KSH jobs.
  • -I scriptfilename: The option specified to submit JCL jobs.
  • -t timeout: Specifies to control the timeout threshold when submitting a job.
  • -o ejr option: Specifies the options passed to the EJR script file. For example, -f ejr option (-o "-f envfile") can be used to pass an environment file to KSH job; -e ejr option (-o "-e envfile") can be used to pass an environment file to JCL job.
showjobexec(she) [-n machine] | [-g groupid [-i serverid]]
Display the number of executing jobs of ARTJESINITIATOR servers.If no option is specified, display the number of executing jobs of all ARTJESINITIATOR servers.
-n machine:
The Tuxedo logic machine name that the ARTJESINITIATOR server is running on.
-g groupid:
The Tuxedo group id of the ARTJESINITIATOR server.
-i serverid:
The Tuxedo server id of the ARTJESINITIATOR server.
stopjobexec(ste) [-n machine] | [-g groupid [-i serverid]]
Stops ARTJESINITIATOR servers from picking up a new job to execute; the server continue finishing current jobs. If no option is specified, all ARTJESINITIATOR servers stop picking up new jobs.
-n machine:
The Tuxedo logic machine name that the ARTJESINITIATOR server is running on.
-g groupid:
The Tuxedo group id of the ARTJESINITIATOR server.
-i serverid:
The Tuxedo server id of the ARTJESINITIATOR server.
resumejobexec(rse) [-n machine] | [-g groupid [-i serverid]]
Resume ARTJESINITIATOR servers pick up of new jobs to execute. If no option is specified, all ARTJESINITIATOR servers resume picking up new jobs.
-n machine:
The Tuxedo logic machine name that the ARTJESINITIATOR server is running on.
-g groupid:
The Tuxedo group id of the ARTJESINITIATOR server.
-i serverid:
The Tuxedo server id of the ARTJESINITIATOR server.
settracelevel(stl) -t tracelevel [-n machine] | [-g groupid [-i serverid]]
Set the TuxJES trace message level of TuxJES client and server.
If none of the machine, groupid, and serverid parameter is specified, the artjesadmin will change the TuxJES trace message level of the current client and all servers that your UBBCONFIG SERVERS section specifies. Once you specify one or more parameters, the artjesadmin will only change the TuxJES trace message level of the servers that you specifies; the current client will not be changed.
-t tracelevel:
Specify the TuxJES trace message level parameter. -t tracelevel can be set as 0, 1, 2, or 3. 0 indicates ERROR level; 1 indicates WARN level; 2 indicates INFO level; 3 indicates DEBUG level.
-n machine:
Specify the Tuxedo logic machine which the TuxJES server is running on.
-g groupid:
Specify the Tuxedo group which the TuxJES server belongs to.
-i serverid:
Specify the Tuxedo server ID of the TuxJES server.
setjesacl (sja) -f rulepath [-t PLAIN|ENCRYPTED] [-m MAC|DAC]
Dynamically change job access authorization. Only the Oracle Tuxedo user who is mapped to (or identical with) Unix/Linux root (referred to as super user) can use this sub command.
-f rulepath:
Specify the path of job access authorization configuration file. Its usage is just likes JES_ACL_FILE in JESCONFIG.
-t PLAIN|ENCRYPTED:
Specify the rule file is encrypted or not. If not specified, use the default value PLAIN. Its usage is just likes JES_ACL_FILE_TYPE in JESCONFIG.
-m MAC|DAC:
Specify the action when no matching rule is found for the user. If not specified, use its default value MAC. Its usage is just likes JES_ACL_MODE in JESCONFIG.