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

 

   

convert

This command allows you to convert a value from or to a time, error, or log event value.

Syntax

The syntax varies depending on the value you choose to convert.

Value to convert Syntax
time number to string convert t <value>
string to time number convert s <time_mask> <value>
error tuple to three part error convert e <value>
three part error to error tuple convert e <category> <function> <number>
log event type number to string convert l <log_event_type>

Parameters

value

Value to be converted.

time_mask

The date/time format to be used for the string-to-numeric conversion. The default is the current date/time format specified by the Process Engine's configuration file, if set, or by the server's operating system.

category

The first set of three numbers in an error tuple.

function

The second set of three numbers in an error tuple.

number

The third set of three numbers in an error tuple.

log_event_type

The number associated with a specific log event.

   

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.