DSSetJobQueue

Sets the workload management queue before running a job.

Syntax

DSSetJobQueue (ErrCode, JobHandle, QueueName)
ErrCode is set to one of the following values:
  • DSJE.NOERROR if DSSetJobQueue was successful
  • DSJE.BADHANDLE if the JobHandle was not valid

JobHandle is the handle for the job as derived from DSAttachJob.

QueueName is the name of workload management queue to submit the job to.

Example

The following command sets the workload management queue to HighCPUClass.

Call DSSetJobQueue(ErrCode, qsales_handle, "HighCPUClass")