Monitoring Commands

These commands set categories of printed output during command execution. Different messages will be sent to the client depending on the state of the categories. None of the following printed output from interfaces is sent as part of the eim output stream but is sent directly to the client for display.

The settings may be set within the startup script which then defines their state for every client session. If they get changed within a client session to a network service, this change lasts only until the end of the session.

debug

debug { on | off | true | false | 0 | 1 }

Set debug mode. When debug mode is on, debug messages will be sent to the client. By default, debug mode is off at translator startup.

set quiet

set quiet={ on | off | true | false | 0 | 1 }

Set quiet mode. When quiet mode is on, program title and confirmation messages are suppressed. By default, quiet mode is on at translator startup.

set progress

set progress={ on | off | true | false | 0 | 1 }

Set progress mode. When progress mode is on, the client can be informed of progress (10%, 20% etc.) during fetch operations. This is not implemented by all interfaces. By default, progress mode is off at translator startup.

set statistics

set statistics={ on | off | true | false | 0 | 1 }

Set statistics mode. When statistics mode is on, a statistical summary of fetched data is sent to the client. This is not implemented by all interfaces. By default, statistics mode is off at translator startup.

Running example

Startup Script:

# Define the base directory as the arcinfo tree
cd g:/arcinfo
 
# Turn progress messages on, and quiet mode off for all sessions
set progress=on
set quiet=off

Client session:

# Fetch base polygons (no meta-data)
# There are no columns specified to select just the graphics
select from austwater.pat
set clip=(6250000,2050000) (6850000,2650000)
objfetch
 
# Fetch town points (with meta-data)
select mctown-id, state from mctown.pat where population > 10000
# Same clipping region still applies
# Provide a client class name
set_classname=~arc.mctowns_t
# Fetch the class definition created by the query
fetch_class
# Provide some statistics about the fetched data
set statistics=on
# Fetch the data into an array called mctowns
objfetch into mctowns