In order to use the macro Lbl2Fmt.sas (in Lbl2Fmt.zip) you also have to download the auxiliary macro - ChkVar.sas (in ChkVar.zip) and make it available in your macro search path just like your other SAS macros or explicitly %include them in your SAS macro code. They are being automatically called from Lbl2Fmt.sas . Lbl2Fmt.sas (C) Jim Groeneveld.