<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Anyone still using the Treedisc macro? in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183725#M1857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run the %TREEDISC macro of SAS on SAS Enterprise Guide 4.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have obtained the two codes from the following links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;Treedisc.sas: &lt;A href="http://www.public.iastate.edu/~kkoehler/stat557/sas/treedisc.sas/"&gt;http://www.public.iastate.edu/~kkoehler/stat557/sas/treedisc.sas/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Xmacro.sas: &lt;A href="http://schick.tripod.com/xmacro.sas/"&gt;http://schick.tripod.com/xmacro.sas/&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the following statement to refer to the xmacro.sas-the file containing XMACRO on my system.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: yellow; color: green;"&gt;*%inc '/sas/m611/stat/sampsrc/xmacro.sas';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to execute the example given in the beginning of treedisc.sas code to run the %treedisc macro.&lt;/P&gt;&lt;P&gt;I get the following errors after which the treedisc macro terminates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *** Compute a tree for predicting SPECIES from the petal and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sepal lengths and widths, which are treated as ordinal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; predictors;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %treedisc( data=iris, depvar=species, ordinal=petal: sepal:,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outtree=trd, options=noformat, trace=2);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Procedure IML not found.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unrecognized form of the RUN statement.&amp;nbsp; Use either RUN; or RUN CANCEL;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unrecognized form of the RUN statement.&amp;nbsp; Use either RUN; or RUN CANCEL;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unrecognized form of the RUN statement.&amp;nbsp; Use either RUN; or RUN CANCEL;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unrecognized form of the RUN statement.&amp;nbsp; Use either RUN; or RUN CANCEL;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unrecognized form of the RUN statement.&amp;nbsp; Use either RUN; or RUN CANCEL;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: File WORK._DESC_.DATA does not exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal;"&gt;WARNING: The data set WORK._DESC_ may be incomplete.&amp;nbsp; When this step was stopped there were 0 observations &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and 2 variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unknown error constructing OUTTREE= data set while running the TREEDISC macro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: green;"&gt;NOTE: The TREEDISC macro terminated due to error(s).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please guide me to fix these issues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 05:57:56 GMT</pubDate>
    <dc:creator>SASDescUser</dc:creator>
    <dc:date>2014-06-20T05:57:56Z</dc:date>
    <item>
      <title>Anyone still using the Treedisc macro?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183721#M1853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anyone still using the treedisc macro SAS released so many years ago? I used to have a nice little program that used it and the xmacro.sas program to run a basic CHAID analysis. It wasn't slick but did the job when I needed it. However, sometime after I got upgraded to version 9.3 it doesn't seem to work anymore. The program errors out in the IML section and I don't know IML enough to debug. Does anyone still running Treedisc.sas have any problems with running it in V9.3?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 16:07:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183721#M1853</guid>
      <dc:creator>BobtheModelBuilder</dc:creator>
      <dc:date>2014-04-17T16:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone still using the Treedisc macro?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183722#M1854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used it as recently as last June and, as best I recall, we were running on SAS 9.3 at the time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 17:28:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183722#M1854</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-04-17T17:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone still using the Treedisc macro?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183723#M1855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe if you posted the code and the error log we might be able to figure out what is causing the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 17:56:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183723#M1855</guid>
      <dc:creator>Hutch_sas</dc:creator>
      <dc:date>2014-04-17T17:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone still using the Treedisc macro?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183724#M1856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will have to run it again with the macro tracing on and save the log to see where the error occurs. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 21:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183724#M1856</guid>
      <dc:creator>BobtheModelBuilder</dc:creator>
      <dc:date>2014-04-17T21:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone still using the Treedisc macro?</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183725#M1857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run the %TREEDISC macro of SAS on SAS Enterprise Guide 4.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have obtained the two codes from the following links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: upper-alpha;"&gt;&lt;LI&gt;Treedisc.sas: &lt;A href="http://www.public.iastate.edu/~kkoehler/stat557/sas/treedisc.sas/"&gt;http://www.public.iastate.edu/~kkoehler/stat557/sas/treedisc.sas/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Xmacro.sas: &lt;A href="http://schick.tripod.com/xmacro.sas/"&gt;http://schick.tripod.com/xmacro.sas/&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the following statement to refer to the xmacro.sas-the file containing XMACRO on my system.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: yellow; color: green;"&gt;*%inc '/sas/m611/stat/sampsrc/xmacro.sas';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to execute the example given in the beginning of treedisc.sas code to run the %treedisc macro.&lt;/P&gt;&lt;P&gt;I get the following errors after which the treedisc macro terminates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *** Compute a tree for predicting SPECIES from the petal and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sepal lengths and widths, which are treated as ordinal&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; predictors;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %treedisc( data=iris, depvar=species, ordinal=petal: sepal:,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outtree=trd, options=noformat, trace=2);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Procedure IML not found.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unrecognized form of the RUN statement.&amp;nbsp; Use either RUN; or RUN CANCEL;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unrecognized form of the RUN statement.&amp;nbsp; Use either RUN; or RUN CANCEL;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unrecognized form of the RUN statement.&amp;nbsp; Use either RUN; or RUN CANCEL;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unrecognized form of the RUN statement.&amp;nbsp; Use either RUN; or RUN CANCEL;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unrecognized form of the RUN statement.&amp;nbsp; Use either RUN; or RUN CANCEL;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: File WORK._DESC_.DATA does not exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal;"&gt;WARNING: The data set WORK._DESC_ may be incomplete.&amp;nbsp; When this step was stopped there were 0 observations &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and 2 variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: red;"&gt;ERROR: Unknown error constructing OUTTREE= data set while running the TREEDISC macro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: green;"&gt;NOTE: The TREEDISC macro terminated due to error(s).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please guide me to fix these issues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 05:57:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Anyone-still-using-the-Treedisc-macro/m-p/183725#M1857</guid>
      <dc:creator>SASDescUser</dc:creator>
      <dc:date>2014-06-20T05:57:56Z</dc:date>
    </item>
  </channel>
</rss>

