Callable Procedures > Parameters
  
Parameters
The following parameters are required:
Note: In the event of an unexpected failure an entry is inserted in the audit log. The Sequence, Job Name and Task Name are added as part of this entry along with the error message.
 
Parameter
Description
Sequence
See Common Parameters (on page 813)
Job Name
See Common Parameters (on page 813)
Task Name
See Common Parameters (on page 813)
Job Key
See Common Parameters (on page 813)
Task Key
See Common Parameters (on page 813)
Template Job
The name of the job that is to be used as the template for the new job. This name must exactly match the job name as seen in the scheduler job display. The job must be in a 'Hold' or 'Waiting' state in order to be used as a template.
New Job
The name of the job to be created. This name must not already be in use as a job name.
Description
A description for the new job. If set to NULL then the description from the template job will be used.
State
The new state of the job. Can be HOLD, ONCE or ONCE+HOLD. If HOLD then the job is put into a hold state. If ONCE then the job is set for immediate running as a once only job. If ONCE+HOLD then the job is set as a Once and Hold job set for immediate start.
Release Time
The date-time that the new job is to be run.
Threads
The number of threads for the new job. If set to NULL then the number of threads defined for the template job will be used.
Scheduler
A scheduler designation or specific scheduler for the new job. If set to NULL then the scheduler designation from the template job will be used. Refer to the job creation section of this manual for more information.
Logs
The number of log files to keep for the new job. If set to NULL then the log value from the template job will be used.
Okay
A command action on successful completion for the new job. If set to NULL then the okay command from the template job will be used.
Fail
A command action on failure for the new job. If set to NULL then the failure command from the template job will be used.
Att1 - Att8
Attributes associated with the new job. These attributes can be acquired by tasks running under the job through the WsParameterReadJ callable procedure.
Return code
This code indicates the result of the call. See the table below for the return codes.
Return message
A message indicating the action taken, or the reason for no action.