About event log collection methods

Mainframe Analytics Recorder User Guide

Version
10.1.x
Audience
anonymous
Part Number
MK-92HC226-08
ft:lastEdition
2026-01-30
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 MAR tool to output the event logs from the log stream to a dataset.

  • Output event logs to a MAR log dataset without using the system logger service.

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

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 logs 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.