Session Monitor Overview

How to:

Using the Session Monitor, you can review what you have done, review error messages, save reports displayed online, and save FOCUS commands as FOCEXECs for later execution.

As you use FOCUS, the Session Monitor stores your terminal input and output in a stack in memory, appending new lines to the bottom of the stack. The stack can hold about 100 lines (8000 bytes). After this limit is reached, old lines are deleted from the top of the stack as new lines are added at the bottom. Thus, the stack stores the most recent 8000 bytes of your session.

Input from FOCEXECs and output from special full-screen facilities, such as FIDEL, HotScreen, and TableTalk, and from the TRACE and ECHO options of MODIFY requests, are not appended to the stack. To learn how to record output from the TRACE and ECHO options, see the Maintaining Databases manual. To append report output to the stack, you can issue the SET SCREEN = OFF command to prevent the output from being displayed using HotScreen. To append FOCEXEC lines to the stack, execute the FOCEXEC with ECHO=ON or ECHO=ALL.


Top of page

x
Syntax: How to Activate or Deactivate the Session Monitor
SET SM = {OFF|ON|INPUT}

where:

OFF

Turns off the Session Monitor and deletes the stack from memory. OFF is the default value.

ON

Turns on the Session Monitor. The Session Monitor begins stacking your terminal input and output in memory until you end your FOCUS session or you turn off the Session Monitor.

INPUT

Turns on the Session Monitor, but the Session Monitor stacks only input lines, not output.

You can inquire about the current status of the Session Monitor by issuing the ? SET SM query.


Information Builders