Both the CSVINFO and CSVQUERY macros return information about loaded modules. A loaded module is a load module that has been loaded into storage. Use CSVQUERY if you need information about a particular loaded module or if your program is running in access register (AR) mode. Use CSVINFO to obtain information about a group of loaded modules or when you want information about the loaded module associated with a particular program request block (PRB) or information that the CSVQUERY macro does not provide.
In addition to the information you request, the CSVINFO macro returns the file name for modules in the OpenMVS file system.