<?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: Meaning of &amp;quot;Not in valid format&amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Meaning-of-quot-Not-in-valid-format-quot/m-p/810711#M319718</link>
    <description>&lt;P&gt;Libraries are&amp;nbsp;&lt;U&gt;directories&lt;/U&gt; containing datasets, catalogs, views. SAS datasets are files with extension .sas7bdat.&lt;/P&gt;
&lt;P&gt;So your statement has to be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname AEData "/home/u60650811/MYSAS";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;after which you can access your dataset as aedata.db1.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2022 18:13:56 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2022-04-29T18:13:56Z</dc:date>
    <item>
      <title>Meaning of "Not in valid format"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Meaning-of-quot-Not-in-valid-format-quot/m-p/810709#M319716</link>
      <description>&lt;P&gt;So my code looks something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;libname AEData "/home/u60650811/MYSAS/db1.sas7bdat"&lt;BR /&gt;access=readonly;&lt;BR /&gt;run;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Pretty simple however I don't know why I keep getting these errors:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 libname AEData "/home/u60650811/MYSAS/db1.sas7bdat"&lt;/DIV&gt;&lt;DIV class=""&gt;70 access=readonly;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;ERROR: Library AEDATA is not in a valid format for access method RANDOM.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;ERROR: Error in the LIBNAME statement.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;71 run;&lt;/DIV&gt;&lt;DIV class=""&gt;72&lt;/DIV&gt;&lt;DIV class=""&gt;73 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;83&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Apr 2022 18:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Meaning-of-quot-Not-in-valid-format-quot/m-p/810709#M319716</guid>
      <dc:creator>ccherrub</dc:creator>
      <dc:date>2022-04-29T18:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of "Not in valid format"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Meaning-of-quot-Not-in-valid-format-quot/m-p/810711#M319718</link>
      <description>&lt;P&gt;Libraries are&amp;nbsp;&lt;U&gt;directories&lt;/U&gt; containing datasets, catalogs, views. SAS datasets are files with extension .sas7bdat.&lt;/P&gt;
&lt;P&gt;So your statement has to be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname AEData "/home/u60650811/MYSAS";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;after which you can access your dataset as aedata.db1.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 18:13:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Meaning-of-quot-Not-in-valid-format-quot/m-p/810711#M319718</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-04-29T18:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of "Not in valid format"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Meaning-of-quot-Not-in-valid-format-quot/m-p/810721#M319725</link>
      <description>&lt;P&gt;You pointe the libref at a file instead of directory.&amp;nbsp; Since a file is NOT a directory it is the wrong format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either point the libref at the directory that contains the file and use a two level name when access the dataset.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname AEData "/home/u60650811/MYSAS"  access=readonly;
proc contents data=aedata.db1 ;
run; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or use the quoted physical filename to reference that dataset directly.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data="/home/u60650811/MYSAS/db1.sas7bdat";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Apr 2022 18:32:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Meaning-of-quot-Not-in-valid-format-quot/m-p/810721#M319725</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-04-29T18:32:50Z</dc:date>
    </item>
  </channel>
</rss>

