Command reference / object
DSPDTAARA
Display Data Area
Shows the attributes and value of the specified data area: its type and length, the library where it is located (not applicable to the local, group, or program initialization parameter data area), and its text description.
Allowed environments: *ALL.
Positional parameters: 2.
Restrictions
- The user needs *USE authority to the data area and *EXECUTE authority to its library. No specific authority is required for *LDA, *GDA, or *PDA.
Parameters
DTAARA
Data area
Specifies the name and library of the data area whose attributes and values are displayed.
Suggested / special values:
*LDA, *GDA, *PDA
*LDA- The local data area is displayed: a 1024-byte character data area tied to the job and not accessible from other jobs.
*GDA- The group data area is displayed if the job is a group job. It is a 512-byte character data area accessible only within the group.
*PDA- The program initialization parameter data area is shown. It is valid only in a prestart job and is 2000 bytes long.
*LIBL- All libraries in the thread's library list are searched until a match is found.
*CURLIB- The current library for the thread is used. If none is set, the QGPL library is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Data area
Data area
Library
Library
Suggested / special values:
*LIBL, *CURLIB
OUTPUT
Output
Specifies whether the output is displayed at the requesting work station or printed with the job's spooled output.
Allowed values:
*, *PRINT
*- Displayed for interactive jobs, or printed with the job's spooled output for non-interactive jobs.
*PRINT- Printed with the job's spooled output.
OUTFMT
Output format
Specifies the format in which the data area value is shown. Both character and hexadecimal representations can be shown to reveal unprintable characters.
Allowed values:
*CHAR, *HEX
*CHAR- Shown in character format.
*HEX- Shown in both hexadecimal and character format. Valid only for character data areas.
SYSTEM
System
Specifies whether the data area is on the local system or on the remote system.
Allowed values:
*LCL, *RMT
*LCL- The data displayed is for the data area on the local system.
*RMT- The data displayed is from the remote data area named on the RMTDTAARA parameter of a successfully issued CRTDTAARA command. Specify the name given on CRTDTAARA.
Examples
DSPDTAARA DTAARA(HEXDATA) OUTPUT(*) OUTFMT(*HEX)
The value and attributes of HEXDATA are displayed if the user has proper authority, in both character and hexadecimal representations.
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 it.
Generated from os/cl/catalog/DSPDTAARA.json and os/cl/help/DSPDTAARA.json.