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

Before you run the command, you must specify details of the command line options such as workflow name, dependencies,and required permissions. you can enter the command as follows:
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:

Restriction: The docommand and script parameters are mutually exclusive and you cannot use them together.
Note: If you edit the definition of a task in plan that contains variables, the task finishes the run, but the variables are not resolved with their current value.
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.