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)
Check Sequence
The unique integer identifier of the job that is to be checked for its status. This parameter is optional. If this parameter is specified, the Started in Last MI and Started After parameters should not be specified.
Check Job
The name of the job that is to be checked for its status. This name must exactly match the job name as seen in the scheduler job display.
Started in Last MI
The number of minutes back from now the job instance started in. This parameter is optional. If this parameter is specified, the Check Job parameter must also be specified and the Check Sequence and Started After parameters should not be specified. This value must be between 0 and 148599. Note: if multiple instances of the same job have started in the specified time window, the the last job to start is returned (identified by Sequence).
Started After
The date and time the job instance started after. This parameter is optional. If this parameter is specified, the Check Job parameter must also be specified and the Check Sequence and Started in Last MI parameters should not be specified. Note: if multiple instances of the same job have started in the specified time window, the the last job to start is returned (identified by Sequence).
Return code
This code indicates the result of the call. See the table below for the return codes.
Return message
A message indicating the success of the status check, or the reason for the status check not being successful.
Result
The returned result (see below)
Job Status Simple
The simplified job status. See the table below for the simple status codes.
Job Status Standard
The QAD Data Warehouse Designer standard job status. See the table below for the standard status codes.
Job Status Enhanced
The enhanced job status. See the table below for the enhanced status codes.