Event logs can be output to two types of datasets.
When the system logger service is used, logs are output to the DASD-only log stream for the system logger service. Use the event log output tool (RSLOGCP) to output all logs from the log stream to a dataset.
If the system logger service is not used, logs are output to a MAR log dataset.
The following figure provides an overview of event log output.
Figure. Overview of event log output

For details about log streams, see the IBM manual MVS Programming: Assembler Services Reference.