How to put the OMVS SECTRACE output to a dataset instead of the system console
search cancel

How to put the OMVS SECTRACE output to a dataset instead of the system console

book

Article ID: 26667

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC PanApt PanAudit

Issue/Introduction

The OMVS SECTRACE default destination is the system log. The output is more readable if it is put to a dataset.

 

 

Environment

Release:
Component: ACF2MS

Resolution

An OMVS SECTRACE can be set as follows:

    /st set,id=test,type=omvs,dest=dataset,dsn=your.allocated.dataset,end          

The dataset specified in the dsn parm must be pre-allocated. There is a job to allocate this dataset in the INITSECD member of SAMPJCL. Run that job before you set the SECTRACE if you want the trace records to go to a dataset. Otherwise, they will go to the system log.

The documentation on the OMVS SECTRACE is in the ACF2 System Programmer Guide Chapter 6, under "Tracing UNIX System Services (OMVS)".