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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

Multiple Linear Regression in SAS

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.

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