Can the ACF2 OMVS SECTRACE records be sent to a file or SMF rather than to the the console?
search cancel

Can the ACF2 OMVS SECTRACE records be sent to a file or SMF rather than to the the console?

book

Article ID: 29785

calendar_today

Updated On:

Products

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

Issue/Introduction

Can the ACF2 OMVS SECTRACE records be sent to a file or SMF rather than to the the console?

 

Environment

Release: ACF2..001AO-15-ACF2
Component:

Resolution

The ACF2 OMVS SECTRACE trace records can be sent to the console or to a dataset or PDS. The default is CONSOLE.

To send the trace records to a file or PDS the DEST=DATASET operand of the OMVS SECTRACE command can be used.

For example:


SECTRACE SET,ID=mytrace,TYPE=OMVS,FUNC=ALL,DEST=DATASET,DSN=USER02.TEST.SECTRACE,END


DEST=DATASET Specifies that trace output is sent to a data set. The data set can be a sequential data set or a member of a partitioned data set (PDS). 

Note: DEST=DATASET also requires the DSName= operand to specify the data  set that is to receive the trace output.  If a member of a partitioned data set is to be              used, the MEMBER= operand is also required in addition to the DSName= operand. This dataset should be pre-allocated. See the  INITSECD job, located in the             CAX1JCL0 library, for information on creating a dataset and member to use in a SECTRACE.

For example:

//SECTRACE JOB (77777777)
//ALLOCATE EXEC  PGM=IEBGENER
//SYSUT1   DD  *,DCB=LRECL=133,BLKSIZE=27930
//SYSUT2   DD  DSN=USER002.TEST.SECTRACE,UNIT=SYSDA,
//             SPACE=(CYL,(15,15)),DISP=(NEW,CATLG,DELETE),
//             VOL=SER=volser,DCB=(LRECL=133,BLKSIZE=27930,RECFM=FB)
//SYSPRINT DD SYSOUT=*
//SYSIN    DD  DUMMY