identifies all variables
that are defined in the current DATA step.
Optional Argument
format
identifies a SAS format
or a user-created format.
Details
The EXAMINE command
displays the value of one or more specified variables. The debugger
displays the value using the format currently associated with the
variable, unless you specify a different format.
Example
Display the values of variables
N and STR:
ex n str
Display the element i of the array TESTARR:
ex testarr{i}
Display the elements i+1, j*2, and k-3 of the array CRR:
ex crr{i+1}; ex crr{j*2}; ex crr{k−3}
Display the SAS date variable T_DATE
with the DATE7. format:
ex t_date date7.
Display the values of all elements
in array NEWARR: