The Attribute (ATTR) debug command permits you to display the attributes of a variable. The attributes are the size (in bytes) and type of the variable as recorded in the debug symbol table on Table 10-1.
The following is an example using the ATTR debug command.
CL declaration: DCL VAR(&CHAR2) TYPE(*CHAR) LEN(10) Debug command: ATTR &CHAR2 Result: TYPE = FIXED LENGTH STRING, LENGTH = 10 BYTES CL declaration: DCL VAR(&DEC) TYPE(*DEC) LEN(3 1) Debug command: ATTR &DEC Result: TYPE = PACKED(3,1), LENGTH = 2 BYTES
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.