Batch Specific Error Conditions - Intergraph Batch Services - Help

Intergraph Batch Services Help

Language
English
Product
Intergraph Batch Services
Search by Category
Help

The following is a list of Batch-service specific error conditions, with a short description of their cause. These batch-specific error codes are defined in the header file for the Batch client API.

BATCH_ERROR_ALREADY_EXISTS

You cannot create a queue or job that already exists.

BATCH_ERROR_BAD_HEADER

There is a problem communicating with batch server.

BATCH_ERROR_BAD_JOB_FLAG

An invalid job flag was specified.

BATCH_ERROR_BAD_JOB_INFO

The specified job structure contained bad information.

BATCH_ERROR_BAD_JOB_NAME

The syntax of the job name was not valid.

BATCH_ERROR_BAD_JOB_PRIORITY

The job priority was invalid.

BATCH_ERROR_BAD_MAGIC

A non-batch program is attempting to use the batch communications protocol.

BATCH_ERROR_BAD_QUEUE_INFO

The specified queue structure contained bad information.

BATCH_ERROR_BAD_QUEUE_NAME

The syntax of the queue name was invalid.

BATCH_ERROR_BAD_QUEUE_TYPE

The specified queue type was not valid.

BATCH_ERROR_BAD_RUN_PRIORITY

The run priority was invalid.

BATCH_ERROR_BAD_SCRIPTNAME

Either the script does not exist, or the system was unable to open it for read access.

BATCH_ERROR_BAD_SERVER_INFO

The specified server structure contained bad information.

BATCH_ERROR_BAD_SERVER_NAME

The syntax of the server name was not valid.

BATCH_ERROR_BAD_SHELLNAME

The requested default shell is not in the queue's shell list.

BATCH_ERROR_INVALID_HOLD

A hold other than a user hold was specified.

BATCH_ERROR_JOB_IS_RUNNING

You cannot perform this operation on a running job.

BATCH_ERROR_JOB_NOT_RUNNING

An attempt was made to abort a job that is not running.

BATCH_ERROR_LIMIT_EXCEEDED

A job was rejected because it exceeded one of the limitations defined by a batch queue.

BATCH_ERROR_MANAGER_ACCESS_DENIED

The user does not have manager privileges.

BATCH_ERROR_MEMORY

The batch server is out of memory, or the API function could not allocate needed memory.

BATCH_ERROR_NO_ACCOUNT_MAPPING

The system was unable to map the user.

BATCH_ERROR_NO_SUCH_JOB

The specified jobid does not exist.

BATCH_ERROR_NO_SUCH_QUEUE

The specified queue does not exist.

BATCH_ERROR_NOT_SUPPORTED

The batch server does not support this operation.

BATCH_ERROR_OPERATOR_ACCESS_DENIED

The user does not have operator privileges.

BATCH_ERROR_OWNER_ACCESS_DENIED

The user does not own the job.

BATCH_ERROR_OWNER_OR_OPERATOR_ACCESS_DENIED

The user neither owns the job nor has operator privileges.

BATCH_ERROR_PROTOCOL

There is a problem communicating with the batch service.

BATCH_ERROR_QUEUE_ACCESS_DENIED

The user is not allowed to submit jobs to this queue.

BATCH_ERROR_QUEUE_IS_ACTIVE

An attempt was made to delete an enabled queue.

BATCH_ERROR_QUEUE_NOT_ENABLED

An attempt was made to queue a job to a disabled queue.

BATCH_ERROR_QUEUE_NOT_EMPTY

An attempt was made to delete a queue with jobs in it.

BATCH_ERROR_QUEUE_RUN_PRIORITY_EXCEEDED

The run priority of the job is greater than the run priority of the queue.

BATCH_ERROR_SERVER_DOWN

The specified batch server is not running.

BATCH_ERROR_UNEXPECTED

A batch-specific error occurred that could not be handled.

BATCH_ERROR_UNKNOWN_PKT

The batch server does not recognize the operation requested.