Learning SAS? Welcome to the exclusive online community for all SAS learners.

ERROR: Expected open parenthesis after macro function name not found.

Accepted Solution Solved
Reply
N/A
Posts: 1
Accepted Solution

ERROR: Expected open parenthesis after macro function name not found.

Hi,

I'm using Sas studio University Edition and I don't know why the following code doesn't work.

This code is working on sas 9.1.3

43 %let vider_work = %str( proc datasets library=work memtype=data kill nolist nodetails ; run; quit; );

ERROR: Expected open parenthesis after macro function name not found.

or another exemple :

%let race = %str( );

ERROR: Expected open parenthesis after macro function name not found.

I think I found the hotfix but I don't know if it will my version of SAS

SAS Data Integration Studio 4.21_M2 Hot Fix Downloads - WX6

Pierre


Accepted Solutions
Solution
‎06-28-2014 05:07 PM
Super User
Posts: 17,912

Re: ERROR: Expected open parenthesis after macro function name not found.

You have an error somewhere else, I'm guessing. Check your code before this section to see if you have anything hanging, or try restarting if all else fails.

No errors when I run in SAS Studio:

1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

42 ;

43 %let vider_work = %str( proc datasets library=work memtype=data kill nolist nodetails ; run; quit; );

44 %put &vider_work;

  proc datasets library=work memtype=data kill nolist nodetails ; run; quit;

45 ;

46 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

56 ;

View solution in original post


All Replies
Solution
‎06-28-2014 05:07 PM
Super User
Posts: 17,912

Re: ERROR: Expected open parenthesis after macro function name not found.

You have an error somewhere else, I'm guessing. Check your code before this section to see if you have anything hanging, or try restarting if all else fails.

No errors when I run in SAS Studio:

1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

42 ;

43 %let vider_work = %str( proc datasets library=work memtype=data kill nolist nodetails ; run; quit; );

44 %put &vider_work;

  proc datasets library=work memtype=data kill nolist nodetails ; run; quit;

45 ;

46 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;

56 ;

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 1171 views
  • 0 likes
  • 2 in conversation