How to collect LREF data for executed loadlibs only

Document ID : KB000096808
Last Modified Date : 17/05/2018
Show Technical Document Details
Wanting to collect Last Referenced data for a load library object module that has been "executed" only. Not read or browsed by other utilities such as ISPF. Yet, if a CLIST executes the load module we want to collect this information. If a batch job executes the load library we want to collect this data as well. 
Recommend the following $ACCESS statement
$ACCESS LIB=your.loadlib. name
The BLDL or DESERV functions are the system services that search for members
From the doc:
Program, CLIST, or procedure executions only.
Additional Information:
If you go to supportonline and search DOCOPS for your CA PDSMAN documentation you can use this link to acquire the $ACCESS sample and explanation of its use.
This is the CA PDSMAN PDS Library Management Administrator Guide page 97