Hello! I am trying to run a SAS macro and repeatedly get an error....
%LET list_categor =
%LET list_continue =
%M_AD(TABLE = ,
Basically the last line there - statement not valid or used out of proper order.
I have tried several times, selecting or unselecting the code and running it but the same error occurs.
I was hoping to find out if anyone has experienced similar trouble?
Thank you very much in anticipation.
I
The first two statements need semi-colons to end the %LET statement. The last one looks like a call to the macro named M_AD, but the parameter list is missing the right parenthesis.
The first two statements need semi-colons to end the %LET statement. The last one looks like a call to the macro named M_AD, but the parameter list is missing the right parenthesis.
Dear Tom, thank you so much for the response. There seemed to be a problem which I still do not understand. We ran the macro again from scratch with all the codes and the error has gone. The outputs are working fine now. Yes, sorry I did not put all the code lines there as there were too many and just that one code was creating the error. However, kust now it resolved!
Thank you so much again!!
Kind regards
Sanam
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.