search cancel

Running sample report MQ001 but receiving no output

book

Article ID: 257579

calendar_today

Updated On:

Products

SYSVIEW Performance Management

Issue/Introduction

Trying to run report based of SYSVIEW.CNMB4SAM(MQ001) but receiving no output. I can see results in Sysview panels for MQ data collections, but not via running the batch job.

Environment

Release : 16.0

Cause

Parameters needed to be set up to collect the correct SMF records in the SMF data sets.

Resolution

MQ001 was successfully run using the logstream as input but failed when using the SMF dataset.    In order to use the dataset it must include the appropriate subtypes for MQ from the 255 records.   The distributed CNM4BSAM(SMFDUMP) only collects SubType 8, 28 records.   The SMFDUMP job that is used, therefore, needs to be modified to include subtype 48, and any other subtypes as appropriate to the site:   

//SYSIN    DD *                 
  INDD(INDD1,OPTIONS(DUMP))     
  OUTDD(OUTDD1,TYPE(255(8,28,48))) 
  DATE(yyyyddd,yyyyddd)         
  START(hhmm)                   
  END(hhmm)                     
/*      

Additionally, in the CNM4BPRM(MQSDATA) member, the parameter LOG-REQUESTS-TO-SMF needs to be set to YES.    This parameter change may be done directly from the LIBS screen by selecting the SITE parmlib and then Editing the MQSDATA member.  Overtype the field and PF3 to save the change.    After the update is completed, go to the MQTHRESH screen and enter the RELOAD command to update the parameter and make if immediately effective.