libname source "/data/conversion/acs2024/"; libname output "/data/conversion/output/"; libname ctlgs "/pub/sas/catalogs/"; libname fmts "/pub/sas/formats/"; proc format library=ctlgs.formats cntlout=output.customFormats; * SELECT statement here to select the formats to keep -- don't need all of them ; run; proc sql noprint; create table output.ACS_formats as select memname as DSName, name as ColName, type as ColType, length, format, label from dictionary.columns where libname="SOURCE"; quit;