How to tell which CA View reports are being viewed and when

Document ID : KB000124089
Last Modified Date : 03/01/2019
Show Technical Document Details
Question:
How can we tell tell which CA View reports are being viewed and when the last time they were accessed was.
Environment:
z/OS
Answer:
There are actually a few utilities you can use to obtain this information. Of the three utilities outlined below, only the last one (METRICS) would provide you with the USERID information for who viewed the report.

A). The ADLIST report (SARSAM8) can be assembled and linked into your View load library and run with a "/LIST ARCHDATE=*" control parameter to produce a report that will have a "Brs Date" column all the way over on the right. This shows the reports last browse date. However, it does not associate the USERID of the person who viewed it.

B). Using the following "SAMPLE" control statements, you can also use SARGRW to list off ALL the sysout records and show you the "LAST ACCESSED" date for each sysout:

//* ************************************* 
//* USING SARGRW 
//* SHOW LAST ACCESS DATE FOR ALL REPORTS 
//* ************************************* 
//SYSIN DD * 
/CONTROL DATABASE=your.db.hlq RULER=YES 
/TITLE 'SYSOUT LAST ACCESSED' 
/PRINT ORIGIN 'ORIGIN' 
/PRINT ID 'ID' 
/PRINT JOBNAME 'JOB NAME' 
/PRINT LASTACC 'LAST ACCESSED' 
/* 
//

C). If you need to associate the USERID of the person who last viewed the report, then this information would only be available on the CA View METRICS report known as the "ACCESS ACTIVITY REPORT". The information provided in the METRICS reports comes from CA View cut SMF records. To use Metrics, you must set the SMFTYPE Initialization parameter to an unused SMF value from 128 to 255.
Additional Information:
- For more detailed information on METRICS, including the contents of the SMF records, and for samples of the different reports that are created, please see "Chapter 9: Metrics" in the CA View Reference Guide.

- You may also find the following knowledge document useful: CA View Metrics Set Up and Use