You can use the _ALL_ variable list.
proc print data=have;
format _all_;
run;
But watch out for date, time or datetime values. You will get the raw number of days or seconds instead if you remove the formats. You can add a second format statement to re-attach them.
proc print data=have;
format _all_;
format date yymmdd10. time time5. datetime datetime19.;
run;
... View more