altjob
You can use the altjob command to modify a task in plan before it starts running.
Overview
You can use the altjob command to make changes to a task definition in plan and start the run. The updated task definition starts separately and you can keep the original definition in the database. You must have submit access to the task.
Syntax and command line options
ocli plan altjob | aj jobselect ;[streamlogon|logon=new_logon] ;[docommand="new_command"|script="new_script"] ;[noask]The details that are required with each parameters are as follows:
- jobselect
-
Specify the task to update, by using attributes and qualifiers.
For example, enter the following command
WA_AGT_0#WORKFLOW.TASK.
- streamlogon|logon=new_logon
- You can specify a new user name to run the selected task under.
- docommand="new_command"
- You can specify a new command that the task must run in place of the original command.
- script="new_script"
- You can specify a new script that the task must run in place of the original script.
- noask
-
When you add the noask option as an argument, the agent does not ask for confirmation before it acts on each qualifying item.