Controlling the data extraction level

When performing a system scan, the SCANDIR verb is usually sufficient. For most libraries, SCANDIR is able to collect all the necessary information from the directory entries without the need to access member contents. For PDSE libraries, this includes collecting the bind (or link edit) date. For some specific system modules, SCANDIR will also analyze the member contents to extract additional data necessary to determine the software level of those modules.

If it is important to collect the bind dates of PDS load modules, then the SCANPGM verb can be used instead of SCANDIR. However, because SCANPGM reads multiple blocks for every member, the elapsed time required to scan each PDS library will increase by several hundred percent.

To perform maximum data extraction from every scanned program, use the SCANPGM verb with the FULLIDR keyword. This combination will greatly increase the elapsed time it takes to scan PDSE libraries as well as PDS libraries, so it is not normally expected to be used.