The Display File Description (DSPFD) command provides unique output files, depending on the parameters specified.
DSPFD FILE(LIBA/*ALL) TYPE(*ACCPTH) OUTPUT(*OUTFILE) + OUTFILE(LIBB/ABC)
The file ABC is created in library LIBB and is externally described with the same field descriptions as in the system-supplied file QSYS/QAFDACCP. The ABC file then contains a record for each key field in each file found in library LIBA that has an access path.
DSPFD FILE(LIBX/*ALL) TYPE(*ATR) OUTPUT(*OUTFILE) + FILEATR(*PF) OUTFILE(LIBB/DEF)
the file DEF is created in library LIBB and is externally described with the same field descriptions as exist in QSYS/QAFDPHY. The DEF file then contains a record for each physical file found in library LIBX.
DSPFFD QSYS/QAFDACCP