A character item type's picture corresponds to the number of places that would
accommodate most of the values for
the item, and is specified by repeated Xs. For example, XXXX or X(4) specifies four
places. Values for character item types, except for the
UNDEFINED item type, can exceed their picture (up to a maximum of 250 characters) if the specified picture
is at least X(4).
CHARACTER and
TEXT item types have overflow capabilities. The following are character item types:
CHARACTER
stores alphanumeric
values with trailing, leading, and extra internal blanks removed.
For example, JOHNØØØSMITH is stored and displayed
as JOHNØSMITH.
TEXT
stores alphanumeric
values, but blanks are not removed. For example, ØØJOHNØØØSMITHØØØ
is stored and displayed as ØØJOHNØØØSMITHØØØ.
UNDEFINED
stores binary bit-
string data. UNDEFINED items can contain any of the 256 EBCDIC characters, which are treated
like TEXT items except that overflow is not allowed.
Note: When you create a view descriptor,
PROC ACCESS assigns default variable lengths to the corresponding
SAS variables by using the pictures of the selected items. However,
because CHARACTER and TEXT item types have overflow capabilities,
there might be values stored in the database that are greater than
the default variable length. When you use the view descriptor to select
data stored in the database, the larger values are not recognized.
Therefore, to access values that exceed their item's picture,
you must change the length in the view descriptor definition to the
largest possible value stored in the database, up to a maximum of
200.
Therefore, to access values that exceed their item's picture, you must change the
length in the view descriptor
definition to the largest possible value stored in the database, up to a maximum of 200.