Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Display Physical File Member (DSPPFM) command 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, locate a particular record by record number, or specify a starting position in the record. You can also select a character or hexadecimal display of the records.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILE | File | Qualified object name | Required, Positional 1 |
Qualifier 1: File | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
MBR | Member | Name, *FIRST, *LAST | Optional, Positional 2 |
FROMRCD | From record | Unsigned integer, 1, *END, *ALLDATA | Optional |
Top |
Specifies the name and library of the physical file containing the member to be displayed.
This is a required parameter.
Qualifier 2: Library
Top |
Specifies the name of the file member displayed.
Top |
Specifies which record in a physical file is shown on the top line of the initial display. If the specified record number is a deleted record, the display is positioned on the first record that follows the record that has been deleted. You can display as many records as needed using the page-up and page-down keys.
The possible values are:
Top |
Example 1: Displaying the First File Member
DSPPFM FILE(TESTA)
This command shows the first member of a physical file named TESTA. The library list is used to locate the file.
Example 2: Displaying a File Member
DSPPFM FILE(SAMPLE/TESTB) MBR(PROGRAM)
This command shows member PROGRAM of physical file TESTB in library SAMPLE.
Top |
*ESCAPE Messages
Top |