Length and offset of data items
Display of data item length and offset is subject to several restrictions and limitations.
PL/I data types supported
The length and offset can be calculated for the following types of PL/I data elements: BINARY, BIT, CHARACTER, COMPLEX, DECIMAL, DIMENSION, FIXED, FLOAT, GRAPHIC, HANDLE, NONVARYING, PICTURE, POINTER, REAL, SIGNED, UNSIGNED, UNION, VARYING, VARYING4, VERYINGZ, WIDECHAR, WIDEPIC.
Type of information displayed
The following information can be displayed in the Length and Offset columns of the Data Elements view.Content | Explanation |
---|---|
A non-negative integer | The Length or Offset of the data item measured in 1-byte increments. The offset origins start at 1, unlike with other languages in which offsets might start at 0. |
Blank or empty |
|
Ellipsis (...) |
|
*** | The following data element types are out of scope because they are created by dynamic
allocation. Their length and offsets return a 0 value in the API.
|