Advertisement

02.12.2008 at 10:31AM PST, ID: 23157099
[x]
Attachment Details

SAS 9.1 - Getting  error on %INCLUDE line of program - not sure how to set the path to the file being included

Asked by sah18 in SAS

I'm trying to run a SAS program that was provided with software we purchased for work.  I've used SAS ages ago, but really don't know it.  I do know programming in general, just not in SAS.  I am running SAS 9.1 for Windows.  Here is where the program is getting stuck (quite early on, I might add):

%INCLUDE 'xformat.sas';
WARNING: Physical file does not exist, C:\WINDOWS\system32\xformat.sas.
ERROR: Cannot open %INCLUDE file xformat.sas.

The sas file this include line is in is in the same folder as the file it is trying to include (xformat.sas).
I don't know why it is looking in C:\WINDOWS\system32 for the file, but it certainly is not there!
There are many, many of these includes throughout the program.  I'd like to know how to get past this error, so that it can locate all these include files.

Thanks for your help!  Oh, of course, this is somewhat urgent!!!

Start Free Trial
[+][-]02.12.2008 at 10:50AM PST, ID: 20877522

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SAS
Sign Up Now!
Solution Provided By: bradanelson
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.12.2008 at 11:48AM PST, ID: 20878066

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2008 at 12:42PM PST, ID: 20878714

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.13.2008 at 06:52AM PST, ID: 20884569

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.13.2008 at 06:55AM PST, ID: 20884610

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.13.2008 at 07:34AM PST, ID: 20885010

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628