Remove Job From Queue (old) 0x2222 23 106

Removes a job from a job queue.

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

Request Format

Offset

Content

Type

Request header

6

FunctionCode (23)

byte

7

SubFuncStrucLen (7)

word (Hi-Lo)

9

SubFunctionCode (106)

byte

10

QueueID

long (Hi-Lo)

14

JobNumber

word (Hi-Lo)

Parameters

JobNumber

(Reply) Specifies the number that the queue manager assigned to the job when it was first entered into the queue.

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

Only an operator or the client that created the job can call Remove Job From Queue (old).

Remove Job From Queue (old) performs the following actions:

  • Removes the specified job from the queue

  • Closes and deletes the associated file

  • Aborts the service if the job is in the process of being serviced

Any further I/O requests made by the server to the job's queue file fail, and Illegal File Handle is returned.

See Also

Get Queue Job List (old) 0x2222 23 107, Read Queue Current Status (old) 0x2222 23 102, Get Queue Job File Size (old) 0x2222 23 120