<?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: SAS import error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-import-error/m-p/269755#M53484</link>
    <description>&lt;P&gt;If you have the Library successfully assigned use SAS Explorer to open library. See if your dataset is there. You may not need to "import" something that is accessible using a library.&lt;/P&gt;
&lt;P&gt;Or run&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc contents data=F1._all_;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;to see what may be in your library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also the Error could be occuring because the Library statement is "using" the file.&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2016 15:24:06 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-05-11T15:24:06Z</dc:date>
    <item>
      <title>SAS import error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-import-error/m-p/269739#M53478</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a SAS question related to reading character variables from an SPSS file into SAS. &amp;nbsp;As is known that SAS truncates character variables to about 255 characters with spaces. In my case I have a character variable with much more characters in SPSS’s SAV format.&amp;nbsp;I read adding “cvp’” in the libname statement would expand the character variable engine but I am getting an error message as noted below. Any idea if there is another code to use or whether it is better to get the SPSS file in POR as opposed to SAV format would make things better? Thanks!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname F1 cvp "H:\NP_narratives_F1" cvpbytes=2;&lt;/P&gt;&lt;P&gt;NOTE: Libref F1 was successfully assigned as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Engine:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CVP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Physical Name: H:\NP_narratives_F1; run;&lt;/P&gt;&lt;P&gt;proc import&amp;nbsp; datafile='H:\NP_narratives_F1\NP_F1_CP_narratives201506.sav'&lt;/P&gt;&lt;P&gt;out= f1.NP_F1_CP_narratives&lt;/P&gt;&lt;P&gt;dbms=SAV&lt;/P&gt;&lt;P&gt;replace; run;&lt;/P&gt;&lt;P&gt;ERROR: Import cancelled. The dataset F1.NP_F1_CP_NARRATIVES is being used and cannot be replaced.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 14:14:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-import-error/m-p/269739#M53478</guid>
      <dc:creator>Fung</dc:creator>
      <dc:date>2016-05-11T14:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS import error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-import-error/m-p/269743#M53480</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error refers to &lt;STRONG&gt;F1.NP_F1_CP_NARRATIVES b&lt;/STRONG&gt;eing in use.&lt;/P&gt;&lt;P&gt;Either you have it opened or others that have access to F1 library&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 14:29:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-import-error/m-p/269743#M53480</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2016-05-11T14:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS import error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-import-error/m-p/269755#M53484</link>
      <description>&lt;P&gt;If you have the Library successfully assigned use SAS Explorer to open library. See if your dataset is there. You may not need to "import" something that is accessible using a library.&lt;/P&gt;
&lt;P&gt;Or run&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc contents data=F1._all_;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;to see what may be in your library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also the Error could be occuring because the Library statement is "using" the file.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 15:24:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-import-error/m-p/269755#M53484</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-05-11T15:24:06Z</dc:date>
    </item>
  </channel>
</rss>

