PFNDBADLF finds ISeries (AS/400, AS400, System i)
database logical files that are based over ISeries
database physical file(s) in a different library. For
example a logical file CUSTL1 in library TESTDB that is
based over a physical file CUSTPF in library LIVEDB.
This is one of the commands in our ISeries
utilities library (click this URL for full
Prospero Software PSPUTIL contact and pricing details).
Normally a logical file should reside in the same
library as the physical file/files on which the logical
file is based. For example a logical file CUSTL1 in
library TESTDB should be based on physical file(s) only
in the same TESTDB library. If the physical/logical
files are in different libraries, this can cause
problems with save/restore operations, so most ISeries
users avoid this situation. If the physical/logical
files are in different libraries, this is most often due
to an incorrect library list setting when the logical
file was created (using the CRTLF command) or when
objects were duplicated using the CRTDUPOBJ command.
PFNDBADLF identifies only logical files where this
discrepancy exists. It ignores completely all files
where both physical and logical file are in the same
library. It does not adjust or update any files. It
simply reports discrepancies via messages to your user
profile message queue. If you decide the logical file is
indeed in error, your typical response is to delete it
and recreate it (DLTF/CRTLF) so that it is based over
the correct physical file(s).