The Delete a Work Queue routine deletes the specified work queue, and releases any storage associated with it. Format PPL$DELETE_WORK_QUEUE [queue-id] [,queue-name] [,flags]
1 – Arguments
queue-id OpenVMS usage identifier type longword (unsigned) access read only mechanism by reference The work queue identifier. The optional queue-id argument is the address of an unsigned longword containing the identifier. queue-name OpenVMS usage char_string type character string access read only mechanism by descriptor Name of the work queue. The optional queue-name argument is the address of a descriptor pointing to a character string containing the work queue name. flags OpenVMS usage mask_longword type longword (unsigned) access read only mechanism by reference Specifies options for deleting a work queue. The optional flags argument is the address of a longword bit mask containing the flag. The valid value is as follows: PPL$M_FORCEDEL Delete the work queue regardless of whether it is empty. By default, PPL$ returns the error PPL$_ELEINUSE if you attempt to delete a work queue at which proceses are blocked or that contains work items.