Change the status of an ENQMODEL definition.
The SET ENQMODEL command allows you to ENABLE or DISABLE ENQMODEL resources installed on the local system. An ENQMODEL must be enabled to allow matching EXEC ENQ requests to be processed. It must be disabled to allow a more specific ENQMODEL to be enabled.
ENQMODELs forming nested generic enqnames must be enabled in order, from
the most to the least specific. For example, enable ABCD* then ABC* then AB*.
If you attempt to enable a more specific ENQMODEL when a less specific enqmodel
is already enabled, the result is that msg NQ0107 is issued and INVREQ is returned to the caller.
In this case you may need to disable one or more less specific ENQMODELs to allow a more specific ENQMODEL to be enabled. You will then be able to enable the less specific ENQMODELs again.
You cannot enable/disable an ENQMODEL which is in the waiting state. If attempted, INVREQ is returned to the caller.