<?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: DBMS type STATA not valid for export in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/771831#M81069</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I also has the problem when I use sas(sas eg) import proc to import .dta file into sas. It either has the error"the physical file does not exist "&lt;/P&gt;</description>
    <pubDate>Sun, 03 Oct 2021 21:34:46 GMT</pubDate>
    <dc:creator>jcheng</dc:creator>
    <dc:date>2021-10-03T21:34:46Z</dc:date>
    <item>
      <title>DBMS type STATA not valid for export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/559928#M74856</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I used to use the following code to export SAS data into Stata and it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc export data=WORK.US_rd39 outfile= "C:\Users\Desktop\research\projects\R&amp;amp;D\data1st\us_rd39.dta";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now it says&amp;nbsp;&lt;/P&gt;&lt;P&gt;*ERROR: Unable to determine datasource type.&amp;nbsp; Please use the DBMS= option.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used DBMS=Stata like below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC EXPORT DATA= WORK.US_rd39&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE= "C:\Users\Desktop\research\projects\R&amp;amp;D\data1st\us_rd39.dta"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS=STATA REPLACE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PUTNAMES=YES;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the ERROR message said DBMS type STATA not valid for export.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone please help me to look into this issue? Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2019 01:25:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/559928#M74856</guid>
      <dc:creator>comeon2019</dc:creator>
      <dc:date>2019-05-19T01:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS type STATA not valid for export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/559933#M74857</link>
      <description>&lt;P&gt;According to the documentation DBMS = DTA is the correct option for exporting to STATA: &lt;A href="https://documentation.sas.com/?docsetId=acpcref&amp;amp;docsetTarget=p1d0tocg3njhmfn1d4ld2covlwm0.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=acpcref&amp;amp;docsetTarget=p1d0tocg3njhmfn1d4ld2covlwm0.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will find answers a lot quicker if you search the documentation first.&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2019 04:25:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/559933#M74857</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-05-19T04:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS type STATA not valid for export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/559980#M74860</link>
      <description>&lt;P&gt;Thanks SASKiwi.&lt;/P&gt;&lt;P&gt;I had a look at the documentation and tried&amp;nbsp;&lt;SPAN&gt;DBMS = DTA, but it still shows the following error message&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: DBMS type DTA not valid for export.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know why.&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2019 22:11:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/559980#M74860</guid>
      <dc:creator>comeon2019</dc:creator>
      <dc:date>2019-05-19T22:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS type STATA not valid for export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/559988#M74861</link>
      <description>&lt;P&gt;DTA is a valid option only if you have SAS/ACCESS to PC Files licensed and installed. PROC SETINIT will show if it is in your licence and PROC PRODUCT_STATUS will show if it is installed.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 00:31:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/559988#M74861</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-05-20T00:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS type STATA not valid for export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/560197#M74862</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/274675"&gt;@comeon2019&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I &lt;STRONG&gt;used to use&lt;/STRONG&gt; the following code to export SAS data into Stata and it worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc export data=WORK.US_rd39 outfile= "C:\Users\Desktop\research\projects\R&amp;amp;D\data1st\us_rd39.dta";&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But now it says&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*ERROR: Unable to determine datasource type.&amp;nbsp; Please use the DBMS= option.;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So &lt;STRONG&gt;when&lt;/STRONG&gt; did you "use to use" that code? Before a SAS license change, on a different SAS install, different computer?&lt;/P&gt;
&lt;P&gt;Something has changed and will likely point to the reason code doesn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 15:41:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/560197#M74862</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-05-20T15:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS type STATA not valid for export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/561133#M74884</link>
      <description>&lt;P&gt;Thank you SASKiwi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I checked, it seems “SAS/ACCESS Interface to PC Files” is not licensed or installed.&lt;/P&gt;&lt;P&gt;IT people in my organization helped me with the renewal of SAS last month. I am not sure how if he has installed all the components that we are entitled to, but I would personally reckon that he should have installed all the components by default.&lt;/P&gt;&lt;P&gt;According to your knowledge, do we need to purchase additional component?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 13:41:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/561133#M74884</guid>
      <dc:creator>comeon2019</dc:creator>
      <dc:date>2019-05-23T13:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS type STATA not valid for export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/561135#M74885</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;ballardw.&lt;/P&gt;&lt;P&gt;I used that code early this year. It worked.&lt;/P&gt;&lt;P&gt;I renewed SAS last month after it was expired.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I not sure if the components in the licence have changed or not during the renewal.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 13:45:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/561135#M74885</guid>
      <dc:creator>comeon2019</dc:creator>
      <dc:date>2019-05-23T13:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS type STATA not valid for export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/561244#M74894</link>
      <description>&lt;P&gt;Applying a SAS licence doesn't involve installing products unless the licence has changed to require it. Comparing your current SAS licence with the previous one should confirm if anything has changed. If nothing has then I'm mystified as to why STATA exports used to work but now don't.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 20:14:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/561244#M74894</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-05-23T20:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS type STATA not valid for export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/771831#M81069</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I also has the problem when I use sas(sas eg) import proc to import .dta file into sas. It either has the error"the physical file does not exist "&lt;/P&gt;</description>
      <pubDate>Sun, 03 Oct 2021 21:34:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/DBMS-type-STATA-not-valid-for-export/m-p/771831#M81069</guid>
      <dc:creator>jcheng</dc:creator>
      <dc:date>2021-10-03T21:34:46Z</dc:date>
    </item>
  </channel>
</rss>

