Skip navigation FileNet logo
Glossary  |  Help Directory  
  Help for vwtool
  Search
Process Reference  
vwtool
Getting Started
Commands
  !<shell_cmd>
  =
  assertbehavior
  attachtran
  config
  convert
  count
  createDBviews
  dbconfig
  deletewob
  dispatchwob
  dump
  echo
  emptyqueue
  environment
  hardcopy
  help
  listdbconfig
  listobjects
  listobjects
  loadstatus
  lockwob
  logconfig
  logquery
  memory
  pagebreak
  queueconfig
  readcdl
  recover
  region
  regions
  resetloadstatus
  rosterconfig
  schemastatus
  statistics
  stepprocessors
  storedquery
  terminatewob
  trace
  unlockwob
  version
  views
  wobquery
  workstation
  writetrace

 

   

count

This command returns a count of the number of work items in a specified queue or roster.

Syntax

count <queue_or_roster_name> [<filter_clause>]

Parameters

queue_or_roster_name

Name of queue or roster.

Enter an asterisk (*) to count all work items in all queues and in all rosters. The total roster and queue entries display at the end.

Enter a pound sign (#) to count all work items in all queues and in all rosters for which the count is non-zero. The total roster and queue entries display at the end.

If you specify a system or user queue and you have a multi-server system, vwtool lists the number of work items in that queue on each server, by server. To list a specific server, you must specify a server for a system or user queue.

filter_clause

SQL WHERE clause to use for query. This parameter is optional; if you include it, wtool returns the number of records satisfying the expression. If you do not specify a filter clause, vtwool returns the number of records in the specified queue or work class.

For details on the syntax for your query, see the documentation for the SQL database server to which you're sending the query.

   

TIP In vwtool, you can enter parameters on the command line (following the command name) or let vwtool prompt you for the information by entering just the command name. Generally, we recommend prompt mode for all but the simplest commands. Entering the parameters on the command line is intended primarily for script-driven input.

NOTE If necessary, change to the desired isolated region prior to executing this command.