Command reference / db
DSPPFM
Display Physical File Member
Displays a physical database file member. Records are shown in arrival sequence even if the file has a keyed access path. You can page through the file, go to a record by record number, or start at a given position in the record, and choose a character or hexadecimal display.
Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC.
Positional parameters: 2.
Parameters
FILE
File
Names the physical file, with its library, that contains the member to display. Required.
*LIBL- Searches all libraries in the thread's library list until the first match is found.
*CURLIB- Uses the thread's current library to locate the file; if none is set, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)
File
File
Library
Library
Suggested / special values:
*LIBL, *CURLIB
MBR
Member
Names the file member to display.
Suggested / special values:
*FIRST, *LAST
*FIRST- Displays the first member of the physical file.
*LAST- Displays the last member of the physical file.
FROMRCD
From record
Specifies which record is shown on the top line of the initial display. If the number refers to a deleted record, the display starts at the next record.
Suggested / special values:
*END, *ALLDATA
*END- Shows the last complete page so the last non-deleted record appears at the bottom of the screen.
*ALLDATA- Shows all data for a distributed file, including remote data. For a non-distributed file it is treated as FROMRCD(1).
Examples
DSPPFM FILE(TESTA)
Shows the first member of physical file TESTA. The library list is used to locate the file.
DSPPFM FILE(SAMPLE/TESTB) MBR(PROGRAM)
Shows member PROGRAM of physical file TESTB in library SAMPLE.
Generated from os/cl/catalog/DSPPFM.json and os/cl/help/DSPPFM.json.