Get Queue Job List (old) 0x2222 23 107

Returns the list of jobs that are contained in the specified queue.

NetWare Server:2.x, 3.x, 4.x, 5.x

Request Format

Offset

Content

Type

Request header

6

FunctionCode (23)

byte

7

SubFuncStrucLen (5)

word (Hi-Lo)

9

SubFunctionCode (107)

byte

10

QueueID

long (Hi-Lo)

Reply Format

Offset

Content

Type

Reply header

8

JobCount

word (Hi-Lo)

10

JobNumber

word[JobCount] (Hi-Lo)

Parameters

JobCount

(Reply) Specifies the number of entries that are currently in the queue.

JobNumber

(Reply) Specifies the list of entries in their current queue order.

Return Values

Decimal

Hex

Description

0

0x00

Successful

153

0x99

Directory Full Error

208

0xD0

Queue Error

209

0xD1

No Queue

210

0xD2

No Queue Server

211

0xD3

No Queue Rights

212

0xD4

Queue Full

213

0xD5

No Queue Job

214

0xD6

No Job Right

215

0xD7

Queue Servicing

216

0xD8

Queue Not Active

217

0xD9

Station Not Server

218

0xDA

Queue Halted

219

0xDB

Maximum Queue Servers

255

0xFF

Failure

Remarks

Any station that is security equivalent to an object listed in the queue's Q_USERS group property or Q_OPERATORS group property can call Get Queue Job List (old).

When used in conjunction with Read Queue Job Entry 0x2222 108, Get Queue Job List (old) returns the following information about all the jobs in the specified queue:

  • Each job's position in the queue.

  • The number and type of jobs in the queue. (This changes between a station's consecutive requests because the queue management environment is multi-threaded.)

  • The job number of each job in the queue.

If your request to read information about a job in the queue fails with No Queue Job, you can assume that the job has been completed or that it has been deleted from the queue.

See Also

Get Queue Job File Size (old) 0x2222 23 120, Read Queue Current Status (old) 0x2222 23 102, Read Queue Job Entry (old) 0x2222 23 108, Remove Job From Queue (old) 0x2222 23 106