Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Data Area (DSPDTAARA) command shows the attributes and value of the specified data area. The following attributes are displayed: the type and length of the data area, the library where the data area is located (there is no library associated with a local data area, the group data area, or the program initialization parameter data area), and the text describing the data area. Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DTAARA | Data area | Single values: *LDA, *GDA, *PDA Other values: Qualified object name |
Required, Positional 1 |
Qualifier 1: Data area | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OUTPUT | Output | Optional, Positional 2 | |
OUTFMT | Output format | *CHAR, *HEX | Optional |
SYSTEM | System | *LCL, *RMT | Optional |
Top |
Specifies the name and library of the data area whose attributes and values are to be displayed.
This is a required parameter.
Single values
Qualifier 1: Data area
Qualifier 2: Library
Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Top |
Specifies the format in which the value of the data area is shown. In order to show the hexadecimal value of characters that cannot be shown, both character and hexadecimal representations of a character data area can be shown.
Top |
Specifies whether the information provided is the data area on the local system (*LCL) or on the remote system (*RMT).
Top |
Example 1: Displaying Output in Hexadecimal and Character Format
DSPDTAARA DTAARA(HEXDATA) OUTPUT(*) OUTFMT(*HEX)
The value and attributes of data area HEXDATA are displayed if the user has proper authority. Both character and hexadecimal representations are shown.
Example 2: Displaying Output in Character Format
DSPDTAARA DTAARA(TIME) OUTPUT(*)
The value and attributes of the data area TIME are displayed if the user has the proper authority. The library list is used to find the data area.
Top |
*ESCAPE Messages
Top |