Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Work Items : Removing Work Queue Items

Removing Work Queue Items
Run the following command to remove work items in a work queue that is cached by the WIS process, if the work items do not have matching records in the outstanding_addr table.
swutil CLEANITEM queuename workitemtag workitemtag...
where:
queuename is the name of the queue that contains the work items you want to remove.
workitemtag workitemtag... is the case number and the request ID in the following format:
case number, request id
For example: 101,1001.
You can remove more than one work item in a queue by using spaces to separate them. For example: 101,1001 102,1002 103,1003.
This command must be used with the swutil CHECKITEM command. You must run the swutil CHECKITEM command to confirm that unmatched records exist in the outstanding_addr table before running this command to remove the work items.
The command checks whether the work items have matching records in the outstanding_addr table before removing them from the WIS cache. If the work items have matching records in the staffo, pack_data, and pack_memo tables, these records of work items are also removed from the tables.
Example
Removing a Work Item
To remove a work item with the case number, 101 and the request ID, 1001 in the queue1 queue, enter the following command at a command line:
swutil CLEANITEM queue1 101,1001
Removing Work Items in a Queue
To clean three work items in the queue1 queue, enter the following command at a command line:
swutil CLEANITEM queue1 101,1001 102,1002 103,1003
where each work item with the case number and the request ID is as follows:
Output of the Command
The output of the command and their descriptions are shown in the following table.
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved