BATCH_SERVER_INFO - Intergraph Batch Services - Help

Intergraph Batch Services Help

Language
English
Product
Intergraph Batch Services
Search by Category
Help

The BATCH_SERVER_INFO structure contains attributes for the server and overall batch environment.

Structure

struct _batchservinfo

{

DWORD state

/* batch server state */

PSECURITY_DESCRIPTOR pSD

/* Access control list */

LPTSTR defaultqueue

/* default batch queue */

DWORD debuglevel

/* level of information for log file */

LPTSTR reserved 2

/* reserved for future features */

LPBYTE reserved

/* reserved for future features */

} BATCH_SERVER_INFO, *PBATCH_SERVER_INFO;

Parameters

DWORD state

The state of the batch server. The following values are possible:

BATCH_SERVER_STATE_INITIALIZING

BATCH_SERVER_STATE_RUNNING

BATCH_SERVER_STATE_EXITING

BATCH_SERVER_STATE_SHUTDOWN

PSECURITY_DESCRIPTOR pSD

A security descriptor containing the access control list for this server. A user or group may be an operator or a manager.

By default, a user may only get information about the server, jobs and queues. Job management access grants the user or group the ability to manipulate jobs that it does not own (this grants the user operator privileges).

Full management access grants all privileges to the user or group. The default server access control list contains the group Administrators, with full management access. The Administrators group will always have full management access.

LPTSTR defaultqueue

The queue to be used if for some reason a queue name is not given for a job.

DWORD debuglevel

A bitmask of the following values:

BATCH_LOG_SERVER
BATCH_LOG_QUE
BATCH_LOG_JOB
BATCH_LOG_JOB_ERROR
BATCH_DEBUG_SERVER
BATCH_DEBUG_QUEUE
BATCH_DEBUG_JOB
BATCH_DEBUG_PIPE
BATCH_DEBUG_PACKETS
BATCH_DEBUG_OTHER

LPBYTE reserved 2

A NULL pointer. In future versions, this pointer may reference added server attributes.

LPBYTE reserved

A NULL pointer. In future versions, this pointer may reference added server attributes.