SYSVIEW: how to get information on last dataset updates.
search cancel

SYSVIEW: how to get information on last dataset updates.

book

Article ID: 224614

calendar_today

Updated On:

Products

SYSVIEW Performance Management

Issue/Introduction

Trying to clean the environment and removing old datasets which have not been used or accessed for a long time. 

Does SYSVIEW provide such information?

 

Environment

SYSVIEW 15.0 & 16.0

 

Resolution

Here are the SYSVIEW commands that can give information about these datasets: 

The LISTDIR command can show update information for PDS members.

On the VTOC command, there's a RefDate field which shows when a dataset was last referenced.

That would include both updating or browsing the dataset, but if it's an old date they can at least tell that it hasn't been referenced in a while.

It looks like the VTOC command is only for one VOLSER. That field is also available from DSINFO, so a DSCAT command can be run for whatever datasets then drill down to DSINFO.