Collecting event logs, How to collect event logs, About event log output datasets – HP XP Command View Advanced Edition Software User Manual

Page 205: 205 about event log output datasets

Advertising
background image

Collecting event logs

This section describes how to collect event logs.

How to collect event logs

Two methods are available for collecting event logs. Use the

LOGPUT

environment variable or the

&YKLOGPT

system symbol to select the method.

The methods for collecting event logs are as follows.

Use the system logger service to output event logs to a log stream, and then use the Smart Manager
for Mainframe tool to output the event logs from the log stream to a dataset.

Output event logs to a Smart Manager for Mainframe log dataset without using the system logger
service.

The system logger service provides the MVS-standard functionality for writing, displaying, and deleting
log data.

The system logger service has the following features. Use them as the guideline for determining whether
to use the system logger service.

Provides mechanisms for capacity management (functions for automatically migrating log data
and automatically allocating log datasets) and troubleshooting (log duplication function).

Allows the users to extract only necessary information later and customize it.

Allows the users to view logs in the middle of a program.

Related topics

Setting the operating environment by using environment variables

, page 41

Setting the operating environment by using system symbols

, page 43

Collecting event logs by using the system logger service

, page 206

Collecting event logs without using the system logger service

, page 215

About event log output datasets

Event log data can be output to two types of datasets.

When the system logger service is used, log data is output to the DASD-only log stream for the system
logger service. Use the event log output tool (

KTLOGCP

) to output the log data from the log stream to

a dataset.

If the system logger service is not used, log data is output to a Smart Manager for Mainframe log
dataset for each job.

The following figure provides an overview of event log output.

User Guide

205

Advertising