<?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: Unable to open a SAS dataset from a library in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/266059#M18463</link>
    <description>&lt;P&gt;If you can't change the permission you can read the file. Ask your manager to change the permission and send the file back to you.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2016 15:10:07 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-04-25T15:10:07Z</dc:date>
    <item>
      <title>Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265816#M18435</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unable to open a SAS dataset from a permenant library, while i can see the data set on this location, I am encountering a n error "Sas data det is not found or exists". i am able to access this dataset if copy it from the existing location to another, i have checked the permissions on the folders and the dataset.&lt;/P&gt;&lt;P&gt;I have also tried accessing the data set using the options like fmterr,anyvariable but was not able to.&lt;/P&gt;&lt;P&gt;could you help me on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 12:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265816#M18435</guid>
      <dc:creator>santosh_pat69</dc:creator>
      <dc:date>2016-04-23T12:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265824#M18436</link>
      <description>&lt;P&gt;How are you trying to open the dataset? &amp;nbsp;Do you have a libname statement? &amp;nbsp;Can you post your code and log output?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 14:52:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265824#M18436</guid>
      <dc:creator>Pamela_JSRCC</dc:creator>
      <dc:date>2016-04-23T14:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265831#M18437</link>
      <description>&lt;P&gt;Run a proc contents on the data set from the library in question and post that, if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 15:42:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265831#M18437</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-23T15:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265841#M18438</link>
      <description>&lt;P&gt;Agree with prior suggestions to show code &amp;nbsp;&amp;amp; log, and try PROC CONTENTS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also would be helpful to know what OS you are on. &amp;nbsp;In Linux, in order to get a LIBNAME statement to work you need to have execute permission on the directory (read permission is not enough). &amp;nbsp;And I think you need execute permission on every parent directory (haven't confirmed and don't trust my memory). That often trips me up when I'm working on a new server. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would try first to get a libname statement working. &amp;nbsp;Once that is working, you can test writing and reading datasets, etc. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also let us know how you are running your code. &amp;nbsp;Some clients execute with different permissions from a limited service account (e.g. stored processes run on a stored process server).&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 17:14:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265841#M18438</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-04-23T17:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265871#M18440</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have tried executing the libname statement, and the library is assigned successfully.&lt;BR /&gt;But when have tried using proc contents I m getting an error the dataset dosenot exist.&lt;BR /&gt;When I tried opening the dataset. This dataset is provided to by one of my manager the files which were provided earlier were opening in SAS located at the same location.</description>
      <pubDate>Sun, 24 Apr 2016 00:28:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265871#M18440</guid>
      <dc:creator>santosh_pat69</dc:creator>
      <dc:date>2016-04-24T00:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265872#M18441</link>
      <description>Additional comments&lt;BR /&gt;&lt;BR /&gt;We are using Linux OS.</description>
      <pubDate>Sun, 24 Apr 2016 00:29:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265872#M18441</guid>
      <dc:creator>santosh_pat69</dc:creator>
      <dc:date>2016-04-24T00:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265873#M18442</link>
      <description>I would check that the file name is all lowercase letters. I would also make the file readable by all, just to make sure it isn't a permissions issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 24 Apr 2016 00:33:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265873#M18442</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-04-24T00:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265878#M18443</link>
      <description>Where does this data originates from? If you aren't the creator, see if it can be accessed in its original environment.</description>
      <pubDate>Sun, 24 Apr 2016 06:05:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265878#M18443</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-24T06:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265887#M18444</link>
      <description>&lt;P&gt;Show.the.log.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2016 11:44:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265887#M18444</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-04-24T11:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265903#M18445</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The dataset is created by mgr.&lt;BR /&gt;The datasets are accessible at his system.</description>
      <pubDate>Sun, 24 Apr 2016 16:32:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265903#M18445</guid>
      <dc:creator>santosh_pat69</dc:creator>
      <dc:date>2016-04-24T16:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265905#M18446</link>
      <description>&lt;P&gt;So you have a dataset that you can't access at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Verify the size of the file, if it's 5k then its corrupted or empty&lt;/P&gt;
&lt;P&gt;2. Verify the permissions of the file - you may need x command or be able to see the unix directory.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post a snapshot of the permissions and size.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More than likely it's a permission issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a macro to change the permission of the file to 777 - or accessible by anyone.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/25/198.html" target="_blank"&gt;http://support.sas.com/kb/25/198.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2016 16:35:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265905#M18446</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-24T16:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265951#M18447</link>
      <description>Please help us to help you. &lt;BR /&gt;The SAS file: what is the usage rights? Who owns the the file and which is the primary group? &lt;BR /&gt;What kind of system do the "mgr" have? What SAS version and how did you move the file?</description>
      <pubDate>Mon, 25 Apr 2016 04:40:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/265951#M18447</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-25T04:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/266055#M18462</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to change the permission on the file and folder using the code from the link below and was not able to change the permission as it was created by another user,the length of the dataset name is 31 char long, and the name has an "M" at the end.&lt;/P&gt;&lt;P&gt;for ex:"yyy.aa_bb_cc_dd_jan2013_mar2016M" (Original name of the dataset changed).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i edit the name and remove "M" i am able to read the dataset, i found this strange even after repalcing the "M" with any other Alphabet or&amp;nbsp; number,&amp;nbsp;i am still not able to use/read the dataset. I believe this is some issue with SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the permission details on the file.&lt;/P&gt;&lt;P&gt;-rwx---rwx 1&amp;nbsp;ABCDE users 20512768 Mar 16 14:22 aa_bb_cc_dd_jan2013_mar2016M.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 15:02:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/266055#M18462</guid>
      <dc:creator>santosh_pat69</dc:creator>
      <dc:date>2016-04-25T15:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/266059#M18463</link>
      <description>&lt;P&gt;If you can't change the permission you can read the file. Ask your manager to change the permission and send the file back to you.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 15:10:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/266059#M18463</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-25T15:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/266069#M18464</link>
      <description>&lt;P&gt;Having an uppercase letter M in the name of the file (on linux) is a problem.&amp;nbsp; Linux is case sensitive.&amp;nbsp; The SAS language is not case senstiive regarding data set names.&amp;nbsp; But, SAS expects all file names of datasets to be lowercase.&amp;nbsp; So if I code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname junk "~/Junk";
data junk.MyData; 
  x=1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS will write mydata.sas7bdat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If on the OS you change the name to be MyData.sas7bat (with mixed upper case and lower case), that is a different file name (on linux).&amp;nbsp; No matter what you do, SAS won't be able to see this datset.&amp;nbsp; Even referecing the file names explicitly, i.e. "~/Junk/MyData.sas7bdat" will not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On linux, the file names of all datasets must be lowercase, as I understand it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 15:22:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/266069#M18464</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-04-25T15:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to open a SAS dataset from a library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/266130#M18466</link>
      <description>Hi Quentin,&lt;BR /&gt;&lt;BR /&gt;Thanks a million,&lt;BR /&gt;after I changed the case of letter "M" I am able to read the dataset.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Santosh&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Apr 2016 17:29:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Unable-to-open-a-SAS-dataset-from-a-library/m-p/266130#M18466</guid>
      <dc:creator>santosh_pat69</dc:creator>
      <dc:date>2016-04-25T17:29:52Z</dc:date>
    </item>
  </channel>
</rss>

