BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Summer99
Calcite | Level 5

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

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

View solution in original post

2 REPLIES 2
Reeza
Super User

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

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 2 replies
  • 1602 views
  • 0 likes
  • 3 in conversation