<?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: DS2 Score code in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/538156#M7683</link>
    <description>&lt;P&gt;Thanks again Jedi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect we are running an older maintenance release (Maintenance Release: 9.04.01M2P072314) and the use of the 'libs' option produced an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting DS2 to run in EM is not a pressing issue so I think I will have to leave it there for now. As an experiment I will try a 'clean' project with minimal libraries allocated and ensure the permissions are lenient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May the force be with you!&lt;/P&gt;</description>
    <pubDate>Sun, 24 Feb 2019 23:28:14 GMT</pubDate>
    <dc:creator>MartinBoland</dc:creator>
    <dc:date>2019-02-24T23:28:14Z</dc:date>
    <item>
      <title>DS2 Score code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/536618#M7662</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have recently completed a DS2 course and did some experimentation with converting some decision tree score code to DS2. This ran fine in EG but I received the following error when trying to run through a SAS code node in EM:&lt;/P&gt;&lt;P&gt;proc ds2;&lt;BR /&gt;ERROR: BASE driver, invalid PRIMARYPATH value, /sasdata/clk/dev/STRATINFO/FOREBEN-G/Analysis/EG.Project/0.Blended/Analysis/Work/ANRef414_OCI_Analysis/Data/Phase3&lt;BR /&gt;ERROR: BASE driver, cannot assign library/path&lt;BR /&gt;ERROR: TKTS initialization failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this error indicate that our EM environment is no set up to run DS2? Is this the normal set-up for EM (i.e. that DS2 doesn't run?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 23:48:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/536618#M7662</guid>
      <dc:creator>MartinBoland</dc:creator>
      <dc:date>2019-02-18T23:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: DS2 Score code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/537513#M7673</link>
      <description>&lt;P&gt;Enterprise Miner and Enterprise Guide are both SAS clients, but they don't necessarily connect to the same SAS server on the back end, and even if they do, they don't necessarily execute SAS using the same configuration. The "&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 21.33px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;ERROR: BASE driver, invalid PRIMARYPATH value&lt;/SPAN&gt;" usually means that you have a SAS LIBREF assigned which points to a non-existent SAS library location. From an Enterprise Miner code node, try processing a few observations of the data set you wanted to process with DS2 just to make sure the Enterprise Miner platform has access to that data location...&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 20:04:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/537513#M7673</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2019-02-21T20:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: DS2 Score code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/537563#M7676</link>
      <description>&lt;P&gt;Thanks for the response Jedi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried a couple of things and the results are a bit surprising...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I opened a new project in EM and run some really simple DS2 code. This worked fine. (i.e ran without error and produced expected results.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the project that was producing the errors I deleted the reference to the library which was producing the error (i.e&amp;nbsp;ERROR: BASE driver, invalid PRIMARYPATH value)&amp;nbsp; but now I am getting a similar error to previous only PRIMARYPATH now resolves to one of my other allocated libraries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: BASE driver, invalid PRIMARYPATH value, /sasdata/clk/dev/STRATINFO/FOREBEN-G/Analysis/EG.Project/0.Blended/Analysis/Work/ANRef390_Debt_Recovery/Data/model.test.manual&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I hope this makes sense.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 23:19:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/537563#M7676</guid>
      <dc:creator>MartinBoland</dc:creator>
      <dc:date>2019-02-21T23:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: DS2 Score code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/537680#M7677</link>
      <description>&lt;P&gt;When PROC DS2 is invoked, it makes connections using its own threaded driver to all SAS libraries available in the session. Sometimes this is problematic. For example, SASHELP is a concatenated library, and as of now the DS2 driver can't handle concatenated library references. Not sure that this is the issue, but (as of SAS 9.4 M3) you can eliminate extraneous connections using the &lt;A href="https://go.documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n0ox2hnyx7twb2n13200g5hqqsmy.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0vbfwujpcwyc5n1e12am41trz0b" target="_self"&gt;PROC DS2 LIBS= option&lt;/A&gt;. For example, if your DS2 program reads from MYSAS.MYTABLE and writes to WORK.NEWTABLE, you only need connections to the MYSAS and WORK libraries. You would use this statement to invoke DS2:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc ds2 libs=(MYSAS WORK);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can try this to see if it resolves your issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 14:05:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/537680#M7677</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2019-02-22T14:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: DS2 Score code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/538156#M7683</link>
      <description>&lt;P&gt;Thanks again Jedi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect we are running an older maintenance release (Maintenance Release: 9.04.01M2P072314) and the use of the 'libs' option produced an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting DS2 to run in EM is not a pressing issue so I think I will have to leave it there for now. As an experiment I will try a 'clean' project with minimal libraries allocated and ensure the permissions are lenient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May the force be with you!&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2019 23:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/DS2-Score-code/m-p/538156#M7683</guid>
      <dc:creator>MartinBoland</dc:creator>
      <dc:date>2019-02-24T23:28:14Z</dc:date>
    </item>
  </channel>
</rss>

