DEQ

Top  Previous  Next

DEQ causes a resource currently enqueued on by the task to be released for use by other tasks.

DEQ     RESOURCE(area)
[ LENGTH(len) ]

Options

LENGTH(len)

specifies as a halfword binary value the length of the resource to be dequeued from.

RESOURCE(area)

specifies either an area whose address represents the resource to be dequeued from, or a variable that contains the resource (an employee name, for example). In the latter case, you must use the LENGTH option.