<?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: errors in a data set up in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/618952#M19306</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/308205"&gt;@BigMac&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;libname tgeg "C:&lt;FONT size="5"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;|&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;Users\USER00000001\Documents\My SAS Files\9.4";&lt;BR /&gt;ERROR: Invalid physical name for library TGEG.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;94&lt;BR /&gt;95 proc import out=sasuser.pasadata&lt;BR /&gt;96 datafile="C&lt;FONT size="5"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;\&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;Users\USER00000001\Documents&lt;STRONG&gt;&lt;FONT color="#ff0000" size="5"&gt;/&lt;/FONT&gt;&lt;/STRONG&gt;My SAS Files\9.4\TEMP1.pooled_PASA_merge.SAS7bdat";&lt;BR /&gt;ERROR: Unable to determine datasource type. Please use the DBMS= option.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;97 data sasuser.pasadata;set&lt;FONT color="#ff0000"&gt; pooled_PASA_merge.SAS7bdat&lt;/FONT&gt;;&lt;BR /&gt;ERROR: Libref 'pooled_PASA_merge' exceeds 8 characters.&lt;BR /&gt;ERROR: File WORK.SAS7BDAT.DATA does not exist.&lt;BR /&gt;98 run;&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set SASUSER.PASADATA may be incomplete. When this step was stopped there were&lt;BR /&gt;0 observations and 0 variables.&lt;BR /&gt;WARNING: Data set SASUSER.PASADATA was not replaced because this step was stopped.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.07 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You start with an illegal path for Windows syntax.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then miss a : and change characters for the folder separators in another path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A SET statement in the data step expects to see LIBNAME.Datasetname or a fully qualified file name in quotes ( "c:\folder\subfolder\datasetname.sas7bdat" ). Since you used &lt;FONT color="#ff0000"&gt;pooled_PASA_merge.SAS7bdat &lt;FONT color="#000000"&gt;then the pooled_PASA_merge was treated as the library name (the bit before the period) and libraries can only be 8 characters long. This would have been looking for a data set named SAS7BDAT.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2020 20:22:17 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-01-21T20:22:17Z</dc:date>
    <item>
      <title>errors in a data set up</title>
      <link>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/618925#M19296</link>
      <description>&lt;P&gt;libname tgeg "C:|Users\USER00000001\Documents\My SAS Files\9.4";&lt;BR /&gt;ERROR: Invalid physical name for library TGEG.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;94&lt;BR /&gt;95 proc import out=sasuser.pasadata&lt;BR /&gt;96 datafile="C\Users\USER00000001\Documents/My SAS Files\9.4\TEMP1.pooled_PASA_merge.SAS7bdat";&lt;BR /&gt;ERROR: Unable to determine datasource type. Please use the DBMS= option.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;97 data sasuser.pasadata;set pooled_PASA_merge.SAS7bdat;&lt;BR /&gt;ERROR: Libref 'pooled_PASA_merge' exceeds 8 characters.&lt;BR /&gt;ERROR: File WORK.SAS7BDAT.DATA does not exist.&lt;BR /&gt;98 run;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set SASUSER.PASADATA may be incomplete. When this step was stopped there were&lt;BR /&gt;0 observations and 0 variables.&lt;BR /&gt;WARNING: Data set SASUSER.PASADATA was not replaced because this step was stopped.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.07 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 19:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/618925#M19296</guid>
      <dc:creator>BigMac</dc:creator>
      <dc:date>2020-01-21T19:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: errors in a data set up</title>
      <link>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/618930#M19298</link>
      <description>Welcome to the SAS forum. I see your code is not working, but it's also not valid code so I'm not sure what you're trying to do.&lt;BR /&gt;&lt;BR /&gt;You do not import a sas7bdat file, you can just use them as is, from the library. &lt;BR /&gt;&lt;BR /&gt;You also don't state what you're trying to do or what your question is, so it's hard to help you at this point in time. &lt;BR /&gt;</description>
      <pubDate>Tue, 21 Jan 2020 19:09:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/618930#M19298</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-01-21T19:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: errors in a data set up</title>
      <link>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/618935#M19301</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/308205"&gt;@BigMac&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are using OS file locations and names where you should use LIBNAME.SASDataSetName.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your tgeg LIBNAME statement doesn't work because of a problem in the directory structure you specified. Include it "as SAS code". (little running man icon in the edit dialog so we can see it). It is likely that you are pointing to a directory that doesn't exist or you have an invalid character in the command. I don't think you are pointing to a directory that contains SAS data sets.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't need to import a *.sas7bdat file; you can point a LIBNAME statement at it the directory and read the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ditto the DATA step problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should play around with SASHELP.cars.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SASHELP is an autoassigned SAS Library. You should be able to run the following code, successfully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data work.cars;
   set sashelp.cars;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 19:25:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/618935#M19301</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2020-01-21T19:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: errors in a data set up</title>
      <link>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/618952#M19306</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/308205"&gt;@BigMac&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;libname tgeg "C:&lt;FONT size="5"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;|&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;Users\USER00000001\Documents\My SAS Files\9.4";&lt;BR /&gt;ERROR: Invalid physical name for library TGEG.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;94&lt;BR /&gt;95 proc import out=sasuser.pasadata&lt;BR /&gt;96 datafile="C&lt;FONT size="5"&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;\&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;Users\USER00000001\Documents&lt;STRONG&gt;&lt;FONT color="#ff0000" size="5"&gt;/&lt;/FONT&gt;&lt;/STRONG&gt;My SAS Files\9.4\TEMP1.pooled_PASA_merge.SAS7bdat";&lt;BR /&gt;ERROR: Unable to determine datasource type. Please use the DBMS= option.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;97 data sasuser.pasadata;set&lt;FONT color="#ff0000"&gt; pooled_PASA_merge.SAS7bdat&lt;/FONT&gt;;&lt;BR /&gt;ERROR: Libref 'pooled_PASA_merge' exceeds 8 characters.&lt;BR /&gt;ERROR: File WORK.SAS7BDAT.DATA does not exist.&lt;BR /&gt;98 run;&lt;/P&gt;
&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set SASUSER.PASADATA may be incomplete. When this step was stopped there were&lt;BR /&gt;0 observations and 0 variables.&lt;BR /&gt;WARNING: Data set SASUSER.PASADATA was not replaced because this step was stopped.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.07 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You start with an illegal path for Windows syntax.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then miss a : and change characters for the folder separators in another path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A SET statement in the data step expects to see LIBNAME.Datasetname or a fully qualified file name in quotes ( "c:\folder\subfolder\datasetname.sas7bdat" ). Since you used &lt;FONT color="#ff0000"&gt;pooled_PASA_merge.SAS7bdat &lt;FONT color="#000000"&gt;then the pooled_PASA_merge was treated as the library name (the bit before the period) and libraries can only be 8 characters long. This would have been looking for a data set named SAS7BDAT.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 20:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/618952#M19306</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-01-21T20:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: errors in a data set up</title>
      <link>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/619065#M19326</link>
      <description>&lt;P&gt;On top of what the others said, you do not import a .sas7bdat file, you just use it through a library definition, as it is already a SAS dataset.&lt;/P&gt;
&lt;P&gt;But&lt;/P&gt;
&lt;PRE&gt;TEMP1.pooled_PASA_merge.SAS7bdat&lt;/PRE&gt;
&lt;P&gt;is not a valid name for a .sas7bdat file. A dataset name (everything before the .sas7bdat) can only contain letters, digits and underlines (no periods!), and must not start with a digit. And the&amp;nbsp;&lt;EM&gt;whole&lt;/EM&gt; filename (including the extension) must be lowercase.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 08:48:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/errors-in-a-data-set-up/m-p/619065#M19326</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-01-22T08:48:00Z</dc:date>
    </item>
  </channel>
</rss>

