Start of changeHCL Workload Automation, Version 9.4

altjob

Modify a job in the plan before it runs.

You must have submit access to the job.

Syntax

{altjob | aj} jobselect
     [;streamlogon|logon=new_logon]
     [;docommand="new_command"|;script="new_script"]
     [;noask]

Arguments

jobselect
See Selecting jobs in commands. Wild cards are supported.
Start of changestreamlogon|logon=new_logonEnd of change
Start of changeSpecifies that the job must run under a new user name in place of the original user name. End of change
Start of changedocommand="new_command"End of change
Start of changeSpecifies the new command that the job must run in place of the original command. This argument is mutually exclusive with the script argument. End of change
Start of changescript="new_script"End of change
Start of changeSpecifies the new script that the job must run in place of the original script. This argument is mutually exclusive with the docommand argument. End of change
noask
Specifies not to prompt for confirmation before taking action on each qualifying job.

Comments

With altjob conman command, you can make changes to the job definition after it has already been submitted into the plan, while maintaining the original definition in the database. This can also be done from either the Job Stream Graphical View or the job monitoring view of the Dynamic Workload Console.
Note: When you edit the definition of a job in the plan that contains variables, the job runs and completes, but is unable to resolve the variables with their value.

For information about jobinfo, see jobinfo.

See also

From the Dynamic Workload Console you can perform the same task as follows:
  1. In the Welcome page, select Monitor your workload, or in the navigation bar at the top of the page, click System Status and Health > Workload Monitoring > Monitor Workload.
  2. Select an engine.
  3. In Object Type, select Job.
  4. From the Query drop-down list, select All Jobs in plan or another task to monitor jobs.
  5. Click Run to run the monitoring task.
  6. From the table containing the list of jobs, select a job and click Edit Job.


End of change