Could you paste here the code you are using? First the outer code, then the contents of the first macro, then the inner macro.
That files (autocall macros) do you have? Where are they?
What is in the log (error message)?
I don't understand how you are using the "path of %anothermacro". When you are calling a macro, you just use the macro name.
You can list more then 1 path in the sasautos option. (See my previous example.) Is this maybe a solution?
If you are using autocall macros (You write one single macro with %macro xxx ;..... %mend; and save it to a file xxx.sas), do not place the macro call in the file. Only the macro definition goes there.
Perhaps your habit of wrapping pure macro code inside of useless DATA _NULL_ step is what is causing the problem?
In your example line 163 is not needed.
Perhaps in your other programs you have similar unneeded lines? Perhaps some are missing a closing semi-colon?
Perhaps some the lines in your macro source files are too long and are getting truncated when %INC or autocalled?
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.