Monitoring Commands

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

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.

quiet

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.

progress

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 on all translators. By default, progress mode is off at translator startup.

statistics

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 on all translators. By default, statistics mode is off at translator startup.

Running example

Startup Script:

# Define the base directory as the arcinfo tree
cd g:/arcinfo
 
# Open a coverage
open brisbane
 
# Turn progress messages on, and quiet mode off for all sessions
progress on
quiet off

Client session:

# Fetch base polygons (no meta-data)
select from austwater.pat
box (6250000,2050000),(6850000,2650000)
objfetch
 
# Fetch town points (with meta-data)
select mctown-id, state from mctown.pat where population > 10000
# Same box still applies
set_class ~arc.mctowns_t
# Provide some statistics about the fetched data
statistics on
objfetch into mctowns