<?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 Error running Proc HPSPLIT example code from documentation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-running-Proc-HPSPLIT-example-code-from-documentation/m-p/677902#M204551</link>
    <description>&lt;P&gt;I trying to run example code provided for Proc HPSPLIT but getting an error.&amp;nbsp; Here is the code:&lt;/P&gt;&lt;PRE class="ng-scope"&gt;ods graphics on;
proc hpsplit data=sashelp.baseball seed=123;
   class league division;
   model logSalary = nAtBat nHits nHome nRuns nRBI nBB
                     yrMajor crAtBat crHits crHome crRuns crRbi
                     crBB league division nOuts nAssts nError;
   output out=hpsplout;
run;&lt;/PRE&gt;&lt;P&gt;And here is the log with error:&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;109 proc hpsplit data=sashelp.baseball seed=123;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;110 class league division;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;111 model logSalary = nAtBat nHits nHome nRuns nRBI nBB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;112 yrMajor crAtBat crHits crHome crRuns crRbi&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;113 crBB league division nOuts nAssts nError;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;114 output out=hpsplout;&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;---&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 22&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 76&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, /, GROWTHSUBTREE, IMPORTANCE, PRUNESUBTREE.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Here is a&amp;nbsp;Page Link to the SAS documentation where I got this example code: &lt;A href="https://documentation.sas.com/?docsetId=stathpug&amp;amp;docsetTarget=stathpug_code_hpsplex3.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=stathpug&amp;amp;docsetTarget=stathpug_code_hpsplex3.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2020 20:32:37 GMT</pubDate>
    <dc:creator>Bill_H</dc:creator>
    <dc:date>2020-08-19T20:32:37Z</dc:date>
    <item>
      <title>Error running Proc HPSPLIT example code from documentation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-Proc-HPSPLIT-example-code-from-documentation/m-p/677902#M204551</link>
      <description>&lt;P&gt;I trying to run example code provided for Proc HPSPLIT but getting an error.&amp;nbsp; Here is the code:&lt;/P&gt;&lt;PRE class="ng-scope"&gt;ods graphics on;
proc hpsplit data=sashelp.baseball seed=123;
   class league division;
   model logSalary = nAtBat nHits nHome nRuns nRBI nBB
                     yrMajor crAtBat crHits crHome crRuns crRbi
                     crBB league division nOuts nAssts nError;
   output out=hpsplout;
run;&lt;/PRE&gt;&lt;P&gt;And here is the log with error:&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;109 proc hpsplit data=sashelp.baseball seed=123;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;110 class league division;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;111 model logSalary = nAtBat nHits nHome nRuns nRBI nBB&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;112 yrMajor crAtBat crHits crHome crRuns crRbi&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;113 crBB league division nOuts nAssts nError;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;114 output out=hpsplout;&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;---&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 22&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 76&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, /, GROWTHSUBTREE, IMPORTANCE, PRUNESUBTREE.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Here is a&amp;nbsp;Page Link to the SAS documentation where I got this example code: &lt;A href="https://documentation.sas.com/?docsetId=stathpug&amp;amp;docsetTarget=stathpug_code_hpsplex3.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=stathpug&amp;amp;docsetTarget=stathpug_code_hpsplex3.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 20:32:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-Proc-HPSPLIT-example-code-from-documentation/m-p/677902#M204551</guid>
      <dc:creator>Bill_H</dc:creator>
      <dc:date>2020-08-19T20:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Proc HPSPLIT example code from documentation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-Proc-HPSPLIT-example-code-from-documentation/m-p/677911#M204553</link>
      <description>&lt;P&gt;This probably indicates that your version is too old and does not support this syntax yet.&lt;/P&gt;
&lt;P&gt;See this link for an earlier syntax&amp;nbsp;&lt;A href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.357.3889&amp;amp;rep=rep1&amp;amp;type=pdf" target="_blank"&gt;http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.357.3889&amp;amp;rep=rep1&amp;amp;type=pdf&lt;/A&gt;&amp;nbsp;(page 318).&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 21:55:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-Proc-HPSPLIT-example-code-from-documentation/m-p/677911#M204553</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-08-19T21:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error running Proc HPSPLIT example code from documentation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-Proc-HPSPLIT-example-code-from-documentation/m-p/678269#M204693</link>
      <description>Thanks Chris, I think you are right, sounds like I should upgrade to latest version!</description>
      <pubDate>Thu, 20 Aug 2020 20:54:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-Proc-HPSPLIT-example-code-from-documentation/m-p/678269#M204693</guid>
      <dc:creator>Bill_H</dc:creator>
      <dc:date>2020-08-20T20:54:05Z</dc:date>
    </item>
  </channel>
</rss>

