The Delete a Work Queue Item routine deletes a work item from a work queue. Format PPL$DELETE_WORK_ITEM queue-id ,work-item [,flags]
1 – Arguments
queue-id OpenVMS usage identifier type longword (unsigned) access read only mechanism by reference The queue identifier. The queue-id argument is the address of an unsigned longword containing the identifier. work-item OpenVMS usage user_arg type longword (unsigned) access read only mechanism by value The value of the item to be deleted from the queue. The work-item argument is the address of an unsigned longword containing this value. flags OpenVMS usage mask_longword type longword (unsigned) access read only mechanism by reference Specifies options for deleting items from a work queue. The optional flags argument is the address of a longword bit mask containing the flag. Valid values are as follows: PPL$M_DELETEALL Delete all items in the specified queue whose value matches work-item. By default, only the first item encountered is deleted. PPL$M_TAILFIRST Begin searching at the end of the queue and move toward the beginning. By default, the search begins at the beginning of the queue and moves toward the end.