Help using Base SAS procedures

SAS macro Error

Reply
Contributor
Posts: 24

SAS macro Error

Hi Iam trying to run the following Treedisc Macro. I am getting an Error " Physical file does not exist, C:\Users\Raghu\Macros.

I am not able to understand what other macro file I would require. Can some one help me.

Attached are xMacros and Treedisc Macros

Thanks,

Raghuraman Ramesh

Attachment
Attachment
PROC Star
Posts: 7,363

SAS macro Error

Did you following the instruction included early in the treedisc.sas macro, namely:

/************ change the following statement to refer to

               the file containing XMACRO on your system ************/

 

*%inc '/sas/m611/stat/sampsrc/xmacro.sas';

Contributor
Posts: 24

SAS macro Error

I have done this to the Treedisc Macro:

%inc 'D:\SAS\Decision Tree\xmacro.sas';

%include macros(xmacro);

The xMacro file is located in the location I have mentioned.

Is there anyother file that i have to look for.. Please Advice.

Thanks,

Raghuraman Ramesh

PROC Star
Posts: 7,363

SAS macro Error

What is the purpose of the 2nd %include statement?  I don't see anything like it in the treedisc macro.

You would have to show your log for anyone to have a chance of letting you know what might be wrong.

Trusted Advisor
Posts: 1,300

SAS macro Error

This requires you to have a license for SAS/IML (proc iml) and SAS/OR (proc netdraw).  This was code previously written by SAS to aide in performing tree type discrimination analysis.  It lost support a long time ago, I believe, and was removed from their site.

Ask a Question
Discussion stats
  • 4 replies
  • 641 views
  • 3 likes
  • 3 in conversation