Event Management Service (EMS) Analyzer Manual

Using EMS Analyzer
Event Management Service (EMS) Analyzer Manual133700
3-27
Dumping Events into a File
EMS Analyzer also allows you to specify an output destination for a single command,
leaving the output destination for the session unchanged. To change the output
destination for a single command, use /OUT file-spec/ following the command
keyword. For example, EMS Analyzer will send the display output for the following
STATUS command to a disk file named EMSASTAT on the default system, volume, and
subvolume:
-> status /out emsastat/
To echo both the input commands and the corresponding output displays in a single file,
use the LOG command. Specifying a log file does not change either the input source or
the output destination; instead, a copy of the commands and displays is sent to the
specified file. For example, the following LOG command creates a file named
$DATA.EMSA.SESSION that will contain each subsequent input command followed by
the output that EMS Analyzer will display in response to that command:
-> log $data.emsa.session
Dumping Events into a File
This subsection describes how to dump selected events into an Enscribe database or a
CSV file. It also describes how to suppress screen display of events when writing to a
database or CSV file.
Dumping Events into an Enscribe Database
To set the EMS Analyzer environment so that all selected EMS event messages are
written to an Enscribe database, type the following at the prompt:
-> alter, eventdb enscribe $data.emsaens.emsadb1 purge
-> dumplog
This command sets the event database attribute to the desired Enscribe database name,
which is purged (if it exists) and created.
The DUMPLOG command starts the search.
Refer to Section 5, Command Descriptions
for the complete syntax of the ALTER
command, modifying the event database attribute.
Example
DISTRIBUTOR $Y202 -> alter, eventdb enscribe $data.emsaens.emsadb1 purge
EMSA DISTRIBUTOR $Y202 altered: EVENTDB attribute
DISTRIBUTOR $Y202 -> dumplog
Searching events...