24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DEQ. [CALLI 152]<br />

The error return is taken if you write the call in an incorrect<br />

format, or if you do not have any pending requests or locks. On an<br />

error return, the monitor returns an error code in the ac. You should<br />

perform this function before EXITing; otherwise, when-you perform a<br />

CLOSE, the function will fail but the nature of the failure will be<br />

difficult to determine. The monitor automatically performs the .DEQDA<br />

function when you issue a LOGOUT monitor call.<br />

22.23.3 FUNCTION 2 (.DEQID)<br />

This function requires the request-id in the right half of the ac.<br />

Specify this function by placing the following information into the<br />

ac:<br />

[XWD<br />

.DEQID,request-id]<br />

The request-id is the request-identifier that you specify in the ENQ.<br />

argument block. Refer to the ENQ. UUO for more information.<br />

The monitor removes all requests of yours with the specified<br />

request-id from resource queues, and it dissolves all locks of yours<br />

with the specified request-id. You should specify this function when<br />

you are dequeueing requests that were made in the same ENQ. argument<br />

block. The error return is taken if you have set up the call<br />

incorrectly, if you have no pending requests, or if you are not the<br />

owner of a resource.<br />

SKIP RETURN<br />

The specified requests are dequeued and the specified locks are<br />

dissolved.<br />

ERROR RETURN<br />

If an error is found in one of the requests in a multiple request DEQ.<br />

monitor call, the error return is taken and the monitor returns an<br />

error code in the ac. However, the ENQ/DEQ facility continues<br />

processing until all of the dequeue requests have been performed.<br />

Therefore, the monitor will have dequeued all valid requests whether<br />

or not an error resulted from another request in the same monitor<br />

call. If errors are found in several requests of the same monitor<br />

call, the error code returned in the ac reflects the last error fo~nd.<br />

If you specify that you want to dequeue a request or dissolve a lock<br />

associated with a pooled resource, the monitor will return an error<br />

code if you attempt to dequeue more resources ·than you own wi thin the<br />

pool. However, you can dequeue a subset of those resources that you<br />

own within a pool, still retaining ownership of those you did not<br />

dequeue. Therefore, you cannot dequeue more resources than you own,<br />

but you do not have to dequeue all that you own in one request.<br />

The error codes for the DEQ. call are identical to those of the ENQ.<br />

call. They are listed in the description of the ENQ. call.<br />

22-51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!