The PDSMAN Last Reference Date Recording (LRDR) facility records the date on which a member was last referenced. The date, which is recorded in the directory entry user data field, can be used as a basis for later archiving or purging of members that are no longer being used. Last Reference Date Recording is enabled using the $ACCESS control statement, REF=Y parameter.
When a member is accessed and LRDR is enabled, PDSMAN attempts to record the last reference date. In some cases the directory entry may not have a user data area in which to record the date. Usually this occurs for PDS load libraries, but it can also happen when members do not already have ISPF statistics recorded. In this situation, PDSMAN dynamically expands the directory entry, records the last reference date, and fills in default values in the update date and time fields. The time field default is set to 00:00 because the expansion is being performed during an access operation, not during an update.
The directory entries can also be expanded manually by running the PDSM12 utility and specifying the "/ADD" parameter. When PDSM12 is used to expand the directory entries, the update time is also set to 00:00.
The time field value will be set to a valid time when the member is next updated and ISPF statistics or PDSMAN member control information recorded.
PDSMAN member control information can be reported using the:
- PDSM07 utility
- List Member Control Information option from the ISPF PDSMAN Master Menu
- EZYEDIT Member Selection List AUDIT view.