USE COMMAND : STRPDM
I would use PDM option 2. Work with objects:
Enter the library name to search for source physical files.
Under OBJECT name key: *ALL
Under TYPE key: *FILE
Under ATTRIBUTE key: PF-SRC
Also can be done by
WRKLIBPDM with library name
PGMBOB: I would build a file of the physical files and select the source attribute. Try DSPOBJD *all/*all OBJTYPE(*file) output(*OUTFILE)
Provide an OUTFILE library/filename. A file will be written with a format supplied by the system. Use SQL select the *File objects and attribute.