Either of these DSPFD commands should work for you:<pre>
DSPFD FILE( mylib/myfile ) TYPE( *MBR ) OUTPUT(*OUTFILE) OUTFILE( somelib/mymbr )
DSPFD FILE( mylib/myfile ) TYPE( *MBRLIST ) OUTPUT(*OUTFILE) OUTFILE( somelib/mymbrlist )</pre>
Run a couple tests to QTEMP and use RUNQRY to view the differences. Choose the variation that you need.
From a PC, the commands could be executed with RMTCMD or through a stored proc CALL to QSYS.QCMDEXC or a few other ways.
Use the i5 command DSPFD to output to an *OUTFILE:
ex: DSPFD FILE(library/file) TYPE(*MBR) OUTPUT(*OUTFILE) OUTFILE(library/file)
Then use query to sort the data to your specs or just access the output file directly from your PC app.