Display Data (DSPDTA)
Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Control Language (CL) command DSPDTA displays a data file. You cannot change the data in the file.
Error messages for DSPDTA
*ESCAPE Messages
- IDU0120
- Critical table missing. Command terminated.
- IDU0141
- Critical table inconsistent. Command terminated.
- IDU0167
- Not authorized to &1.&2.
- IDU1205
- Application &1.&2 not found.
- IDU9001
- Error found on &1 command.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
DFUPGM | DFU program | Qualified object name | Required, Positional 1 |
Qualifier 1: DFU program | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
FILE | Data base file | Qualified object name | Optional, Positional 2 |
Qualifier 1: Data base file | Name, *SAME | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
MBR | Member | Name, *FIRST | Optional, Positional 3 |
Top |
DFU program (DFUPGM)
Specifies the qualified name of the DFU program that will control the interactive display of data.
- *LIBL
- DFU will use your library list to search for a specified program.
- *CURLIB
- Type *CURLIB to use your current library. If no current library entry exists in the library list, QGPL is used. If you do not specify a library name, *LIBL is used.
Top |
Data base file (FILE)
Specifies the database file you want to display.
The possible values are:
- *SAME
- DFU will use the file that was used to define the program.
- file-name
- Type the qualified name of the data file you want DFU to process.
- *LIBL
- DFU will use your library list to search for a specified program.
- *CURLIB
- Type *CURLIB to use your current library. If no current library entry exists in the library list, QGPL is used. If you do not specify a library name, *LIBL is used.
Top |
Member (MBR)
Specifies the member in the file you want to display.
The possible values are:
- *FIRST
- DFU will display the first member of the file.
- member-name
- Type the name of the member you want DFU to display.
Top |
Examples
NoneTop |
Error messages
*ESCAPE Messages
- IDU0120
- Critical table missing. Command terminated.
- IDU0141
- Critical table inconsistent. Command terminated.
- IDU0167
- Not authorized to &1.&2.
- IDU1205
- Application &1.&2 not found.
- IDU9001
- Error found on &1 command.
Top |