By default, the #DELQUE request is unconditional; any runtime error will result in an abend of the issuing task. To avoid an abend, you can request return of control to the issuing program by using the COND parameter.
After completion of the #DELQUE function, the value in register 15 indicates the outcome of the operation. The following is a list of the Register 15 values and the corresponding meaning:
The request has been serviced successfully.
The request cannot be serviced due to an invalid parameter list.
The request cannot be serviced because the requested queue header record (identified by QUEID) cannot be found.
The request cannot be serviced because the requested queue record cannot be found.
The request for a #DELQUE LOC=CURRENT cannot be serviced because no resource control element (RCE) exists for the queue record, indicating that currency has not been established.
A database error occurred during queue processing. A common cause is a DBKEY deadlock. For a PUT QUEUE operation, this code can also mean that the queue upper limit has been reached.
If a database error has occurred, there are usually be other messages in the CA-IDMS/DC/UCF log indicating a problem encountered in RHDCRUAL, the internal Run Unit Manager. If a deadlock has occurred, messages DC001000 and DC001002 are also produced.
If an I/O error occurs while processing a #DELQUE request, the system will return the address of the IDMS communications block to register 1. In this situation, you can check the status code in the ERRSTAT field (for more information, see ERRSTAT Field and Codes).
|
Copyright © 2014 CA.
All rights reserved.
|
|