Difference between FIND vs. SCAN
search cancel

Difference between FIND vs. SCAN

book

Article ID: 11452

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS DISK BACKUP AND RESTORE- ADD-ON OPTIO DISK BACKUP AND RESTORE

Issue/Introduction

What is the difference between FIND vs. SCAN commands?

Resolution

Using the SCAN REALVOLS will scan the VTOCs for every online volume, or those specified on the SELECT, to locate the data sets to be processed.  

The FIND command does not scan the VTOCs, but instead issues a superlocate for the dataset name or pattern specified on the statement. The FIND command will improve the performance of Disk, especially when only few or small subsets of data sets are to be processed.