Hi , guys!
Recently I am studying the macro code in the autocall macro in SAS. And I found ther is an error in the autocall macro BUILSFMT source code, which is located in directory: !SASROOT\core\macro.
When I try to call this macro:
%buildFmt(formatName=agefmt,lookupTable=sample,startColumn=age,labelColumn=age_label);
And an ERROR occured:
![log_error.png log_error.png](https://communities.sas.com/t5/image/serverpage/image-id/9704i240B50171F39C2CA/image-size/original?v=1.0&px=-1)
So I check the source code of macro BUILDFMT, and I found the reaon. The author missed two semicolons. Right here:
![code_error.png code_error.png](https://communities.sas.com/t5/image/serverpage/image-id/9706i421098AF9402679D/image-size/original?v=1.0&px=-1)
These two missed semicolons cause the error above. Just like Lora D. Delwiche and Susan J. Slaughter writed in the Little SAS Book: "Even the most experienced SAS programmer will at least occasionally forget the semicolon."![Smiley LOL Smiley LOL](/i/smilies/16x16_smiley-lol.png)
So, next I am wondering the error jsut in my SAS? Or in all of the SAS? So I check my colleague's SAS which is SAS 9.3, mine is SAS 9.4. His also has the error. So, is there this error in your SAS?