Hi,
I was trying to run a downloaded macro file and got the following error messages. How can I run the macro and input the variables for the macro? Thanks a lot!
proc iml;
%include "E:\New folder\New Folder (2)\Udrive201508\Research\warranty\process.sas"; run;
%process (data= , vars= , y= , m = , x= , v= , model=15);run;
WARNING: Physical file does not exist, E:\New folder\New Folder (2)\Udrive201508\Research\warranty\process.sas.
ERROR: Cannot open %INCLUDE file E:\New folder\New Folder (2)\Udrive201508\Research\warranty\process.sas.
NOTE: Module MAIN is undefined in IML; cannot be RUN.
WARNING: Apparent invocation of macro PROCESS not resolved.
ERROR 180-322: Statement is not valid or it is used out of proper order.
NOTE: Module MAIN is undefined in IML; cannot be RUN.
Fix your error messages, in order.
WARNING: Physical file does not exist, E:\New folder\New Folder (2)\Udrive201508\Research\warranty\process.sas
For some reason, SAS can't find the file you pointed to:
1. Verify that it's correct.
2. If you're using SAS on a server, it likely can't access your desktop and you need to move the file to a location it can access.
3. If you're using SAS UE, it's the same situation as above, except follow the instructions to access myfolder
Fix your error messages, in order.
WARNING: Physical file does not exist, E:\New folder\New Folder (2)\Udrive201508\Research\warranty\process.sas
For some reason, SAS can't find the file you pointed to:
1. Verify that it's correct.
2. If you're using SAS on a server, it likely can't access your desktop and you need to move the file to a location it can access.
3. If you're using SAS UE, it's the same situation as above, except follow the instructions to access myfolder
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.