NQRN gate, DISCARD_ENQMODEL function
Remove an enqmodel definition from both the NQRN directory and from the NQRNAME_LIST.
If the enqmodel is not installed, an 'ENQMODEL_NOT_FOUND' exception is returned.
The ENQMODEL is put into the WAITING state until there are no enqueues in the local system which match the ENQNAME pattern. It is then removed from the local system.
Input Parameters
- ENQMODEL
- The 8-character identifier of the resource to be discarded.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ACQUIRE_LOCK_FAILED
- CATALOG_DELETE_FAILED
- RELEASE_LOCK_FAILED
- The following values are returned when RESPONSE is EXCEPTION:
- ENQMODEL_NOT_FOUND
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.