x cd /pub/sas/formats/Tools; %let pgm=cformat9; filename pgm "&pgm..sas"; *** You must be authorized to write to the format library. ========================================================; *--This sample setup "compiles" a SAS format module by running the SAS FORMAT proc and pointing to a permanent SAS library containing the SAS formats catalog. This setup may have to be run at off hours to avoid conflicts with users needing to have read-access to the format library while this setup requires write access; libname fmatlib '/pub/sas/catalogs'; *<===This is where we keep our permanent SAS formats for v9 sas in the formats catalog on the mcdc box-; proc format library=fmatlib; %*include '/pub/sas/formats/Scousub.sas'/source2; %*include '/pub/sas/formats/Splace.sas'/source2; %*include '/pub/sas/formats/Scounty.sas'/source2; %include '/pub/sas/formats/Sstate.sas'/source2; run;