Dictionary table contains everything you need.

proc sql;
select *
from dictionary.formats;
quit;