ACF2 REPORTS USING SMF LOGSTREAM
search cancel

ACF2 REPORTS USING SMF LOGSTREAM

book

Article ID: 144229

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 - z/OS ACF2 - MISC

Issue/Introduction

Planning to move SMF MAN data sets to Log stream. Currently ACF2 reports(like ACFRPTRV) can use SYSx.MAN datasets directly . Is there a way ACF2 reports can use log streams?

Environment

Release : 16.0

Component : CA ACF2 for z/OS

Resolution

ACF2 reports can easily use the logstream. You simply replace the RECMAN1 dd statement with the logstream name instead of the SYS1.MAN#. Below is an example of doing this:

//STEP2 EXEC PGM=ACFRPTDS,REGION=0M
//RECMAN1 DD DSN=your.system.STREAM,DISP=SHR,SUBSYS=(LOGR,IFASEXIT)
//*RECMAN1 DD DSN=SYS1.MAN1,DISP=SHR
//*RECMAN2 DD DSN=SYS1.MAN2,DISP=SHR
//*RECMAN3 DD DSN=SYS1.MAN3,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LIDMASK(USER03)

This can also be done using the ISPF panels.

The DISPLAY SMF STATUS (D SMF,S) console command can be used to display the information about SMF data sets and log streams status.

LOGSTREAM NAME          BUFFERS      STATUS
s-logstream name         nbytes      lstatus

NAME   VOLSER   SIZE(BLKS) %FULL  STATUS
dsname volser       blk    per  status
dsname volser       blk    per  status