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.

Type
*QUAL
Required
Yes
Case
Uppercase
*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

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

MBR Member

Names the file member to display.

Type
*NAME
Required
No
Default
*FIRST
Length
10
Case
Uppercase

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.

Type
*UINT4
Required
No
Default
1
Case
Uppercase

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.

IBM command documentation

Generated from os/cl/catalog/DSPPFM.json and os/cl/help/DSPPFM.json.