Hi, I am trying to run the %TREEDISC macro of SAS on SAS Enterprise Guide 4.3. I have obtained the two codes from the following links. Treedisc.sas: http://www.public.iastate.edu/~kkoehler/stat557/sas/treedisc.sas/ Xmacro.sas: http://schick.tripod.com/xmacro.sas/ I have changed the following statement to refer to the xmacro.sas-the file containing XMACRO on my system. *%inc '/sas/m611/stat/sampsrc/xmacro.sas'; I am trying to execute the example given in the beginning of treedisc.sas code to run the %treedisc macro. I get the following errors after which the treedisc macro terminates. 17 *** Compute a tree for predicting SPECIES from the petal and 18 sepal lengths and widths, which are treated as ordinal 19 predictors; 20 %treedisc( data=iris, depvar=species, ordinal=petal: sepal:, 21 outtree=trd, options=noformat, trace=2); ERROR: Procedure IML not found. ERROR: Unrecognized form of the RUN statement. Use either RUN; or RUN CANCEL;. ERROR: Unrecognized form of the RUN statement. Use either RUN; or RUN CANCEL;. ERROR: Unrecognized form of the RUN statement. Use either RUN; or RUN CANCEL;. ERROR: Unrecognized form of the RUN statement. Use either RUN; or RUN CANCEL;. ERROR: Unrecognized form of the RUN statement. Use either RUN; or RUN CANCEL;. ERROR: File WORK._DESC_.DATA does not exist. WARNING: The data set WORK._DESC_ may be incomplete. When this step was stopped there were 0 observations and 2 variables. ERROR: Unknown error constructing OUTTREE= data set while running the TREEDISC macro. NOTE: The TREEDISC macro terminated due to error(s). Can anyone please guide me to fix these issues?
... View more