<?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: Metadata Bound Libraries issue in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/359552#M10805</link>
    <description>&lt;P&gt;Thank you Paul and Patrick.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We picked up through testing and Process of Elimination late yesterday that all the folders encrypted and added to our Metadata bound repository BEFORE the latest Metadata Restarts last Friday evening seem to have a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;New folders that were added and encrypted since last Friday's restart seem to have no problems, and those users can freely add new encrypted datasets at will.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have logged a call with SAS Tech Support and will mention this to them.&lt;/P&gt;
&lt;P&gt;Len&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2017 07:03:52 GMT</pubDate>
    <dc:creator>Lenvdb</dc:creator>
    <dc:date>2017-05-18T07:03:52Z</dc:date>
    <item>
      <title>Metadata Bound Libraries issue</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/359401#M10795</link>
      <description>&lt;P&gt;We have a large collection of encrypted SAS Folders, which our userbase can read and write datasets to.&lt;/P&gt;
&lt;P&gt;As these folders are using SAS encryption, we keep a number of Metadata bound libraries for this use.&lt;/P&gt;
&lt;P&gt;Until last Friday our Users were able to write SAS Libraries to these encrypted folders without any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We use SAS9.4 (M2) , EG7.1 running on SAS Compute Win 2012 R2 servers. (fairly standard setup)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the most recent Metadata Server restart, our users are no longer able to add datasets to these encrypted Metadata bound folders:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;NOTE: Metadata-bound library permissions are used for TESTA.TEST3.DATA.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Could not add the secured table object to the secured library&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still can using my SAS Admin creds. It creates a dataset with success here, and registers it in Metadata - all good.&lt;/P&gt;
&lt;P&gt;And after it is created in Metadata they (The users) can then access it and overwrite it successfully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Checks done:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I have already checked the User Group in metadata to see they have full Read Write permissions to this Library.&lt;/LI&gt;
&lt;LI&gt;It also aligns with their Windows AD permissions having full RW access.&lt;/LI&gt;
&lt;LI&gt;I checked that no ACT's have been set to restrict access for them.&lt;/LI&gt;
&lt;LI&gt;I checked all roles and capabilities in SAS Administration group to see what I can add to the Metadata User group, but it does not seem to help.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone had issues with this (or similar) recently? If so, how did you resolve it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Len&amp;nbsp;@ HEFCE&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 14:58:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/359401#M10795</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2017-05-17T14:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Bound Libraries issue</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/359505#M10799</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41119"&gt;@Lenvdb&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;And that after a simple SAS Metadata Server restart? What I would be doing:&lt;/P&gt;
&lt;P&gt;1. Take a Metadata backup&lt;/P&gt;
&lt;P&gt;2. Restart the server&lt;/P&gt;
&lt;P&gt;3. If not resolved call SAS TechSupport&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears there is a repair statement which eventually could help:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/seclibag/66930/HTML/default/viewer.htm#n1gpkwbnzx0jh0n1g3y22cjv7sj5.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/seclibag/66930/HTML/default/viewer.htm#n1gpkwbnzx0jh0n1g3y22cjv7sj5.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or: Do you have a recent enough SAS Metadata Backup you could try?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 21:57:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/359505#M10799</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-05-17T21:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Bound Libraries issue</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/359528#M10802</link>
      <description>&lt;P&gt;Hi Len,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You mentioned you checked the permissions on the library and they had full read write access. Which library did you check and which permissions were you checking? Did you check the Secured Library object or a traditional SAS Library object? For the Secured Library were you looking at the additional permissions: Create Table, Alter Table etc. Also, how are you assigning the library - is the base engine being used directly or are you using the Metadata Libname Engine with the METAOUT option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the error message you posted, and the fact that you didn't have any problems as an administrator, I was&amp;nbsp;thinking it looked&amp;nbsp;like it could be an issue with the permissions on the Secured Library object. There is more info on the permission requirements for this in the &lt;A href="https://support.sas.com/documentation/cdl/en/seclibag/66930/HTML/default/viewer.htm#p0w78wsld3vwkjn1cu4san3u3rud.htm" target="_self"&gt;Permissions for Metadata-Bound Data&lt;/A&gt;&amp;nbsp;section of the &lt;EM&gt;SAS 9.4 Guide to Metadata-Bound Libraries&lt;/EM&gt; (and several other sections too). To add a Secured Table to a Secured Library the Create Table permission is required (Alter Table when overwriting an existing table). Interestingly WriteMetadata is not required on the&amp;nbsp;&lt;SPAN&gt;Secured Library (as it is in many other instances when linking a new object to&amp;nbsp;an existing object). However, when I just I tested a missing&amp;nbsp;Create Table permission I got a different (and very&amp;nbsp;helpful) error message (in SAS 9.4 M4):&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: Metadata-bound library permissions are used for SECLIB.TABLE.DATA.&lt;/P&gt;
&lt;P&gt;ERROR: USERID as Identity Name is not authorized to create data set SECLIB.TABLE.DATA. Create Table permission is required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So unless the error message has changed between M2 and M4 it doesn't look like this is the issue. I'll still post this comment though just in case it's useful to others who read this thread in future. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would probably be worth sending this one on to SAS Technical Support if you haven't done so already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 01:37:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/359528#M10802</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2017-05-18T01:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Bound Libraries issue</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/359552#M10805</link>
      <description>&lt;P&gt;Thank you Paul and Patrick.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We picked up through testing and Process of Elimination late yesterday that all the folders encrypted and added to our Metadata bound repository BEFORE the latest Metadata Restarts last Friday evening seem to have a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;New folders that were added and encrypted since last Friday's restart seem to have no problems, and those users can freely add new encrypted datasets at will.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have logged a call with SAS Tech Support and will mention this to them.&lt;/P&gt;
&lt;P&gt;Len&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 07:03:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/359552#M10805</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2017-05-18T07:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Bound Libraries issue</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/360171#M10841</link>
      <description>&lt;P&gt;Thanks for the update Len. If you're able to identity the underlying problem and find a solution with SAS Tech Support please post back here as I, and I imagine othes too, would be keen to find out the resolution. Cheers Paul&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2017 04:07:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/360171#M10841</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2017-05-20T04:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Bound Libraries issue</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/360377#M10843</link>
      <description>Hi Paul.&lt;BR /&gt;The solution: I inadvertently modified the Default ACT. I had to make sure that the Default ACT for SASUSERS must always have ReadMetadata and WriteMetadata checked.</description>
      <pubDate>Mon, 22 May 2017 08:10:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Metadata-Bound-Libraries-issue/m-p/360377#M10843</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2017-05-22T08:10:01Z</dc:date>
    </item>
  </channel>
</rss>

