I am working in SAS Enterprise Guide and want to save the maximum value of a column into a global macro variable.
I already know how to save the maximum value of a column into a regular macro variable:
proc sql;
SELECT max(column)
INTO: macro_variable
FROM dataIn
;
quit;
But how do I get SAS to save the maximum value of the column as a global variable?
Thanks up front for the help.