Architecting, installing and maintaining your SAS environment

creating a metadata bound library

Accepted Solution Solved
Reply
Contributor
Posts: 26
Accepted Solution

creating a metadata bound library

Can you create a metadata bound library from an existing library, and if so, how?


Accepted Solutions
Solution
‎06-22-2016 08:31 AM
SAS Super FREQ
Posts: 299

Re: creating a metadata bound library

Posted in reply to newtolinux

Hi

 

Given that you do have the permissions set, could you try and create a new lib under /system/secured libraries in the FOLDERS tab, and point that to the same folder you pointed your "regular" metadata lib, created in the lib manager?

Then all you would have to do it protect it with a pwd.

 

Your permissions with RM and WM are sufficiant for bounding.

 

- OS data has to be ready/available, which it should be, given that you created the lib metadata object.

- your permissions are already set correctly with RM and WM

- in the /system/secured libraries (FOLDERS tab), you create the new lib by pointing to the same path that's being assigned to the lib created in Lib Manager

- assign a pwd

 

that creates your bound lib.

 

One thing I'd like to mention when you create a bound lib:

if you start with creating a metadata object in the lib manager, and use - for example - the sasdemo account (external restricted account), and then afterwards try to create a bound lib in the SAS Folders, you'll run into a permission error.

This happens because the metadata server cashed your credentials. To fix this, go to FILE, CLEAR CREDENTIALS CASH.

 

Does that answer your question, does that help?

Thanks

Anja

View solution in original post


All Replies
SAS Super FREQ
Posts: 299

Re: creating a metadata bound library

Posted in reply to newtolinux

Hi there,

Metadata-Bound libraries can either be created via SASMC, or via code.

Please take a look at
http://support.sas.com/documentation/cdl/en/seclibag/66930/HTML/default/viewer.htm#p1t76vny0n5g4an1t...

for further info

 

When creating Metadata-bound libraries, it is also important to make sure permissions are in place:

http://support.sas.com/documentation/cdl/en/seclibag/66930/HTML/default/viewer.htm#p0w78wsld3vwkjn1c...

 

Please let me know if this helps

Anja

SAS Super FREQ
Posts: 299

Re: creating a metadata bound library

Posted in reply to newtolinux

Hi .. sorry .. i hit POST too quickly .. your question was whether you can create a metadata bound lib with a lib already existing.

You can use PROC AUTHLIB and bind the lib name that you created in SASMC

See http://support.sas.com/documentation/cdl/en/seclibag/66930/HTML/default/viewer.htm#n0ey28yc2pivq1n1n...

 

Contributor
Posts: 26

Re: creating a metadata bound library

And I failed to mention that I had not created a "Secured Folder" location(the datasets currently reside in "plain" metadata folders - is this still necessary/desirable?

 

Thanks.

SAS Super FREQ
Posts: 299

Re: creating a metadata bound library

Posted in reply to newtolinux

Hi,

do you have permissions set up on your metadata lib and the SAS folders?

In order for this to work, you'd have to set up permissions to the folders first (lib has to be accessable as well).

Once this is set, the metadata-bound lib can be set up.

 

What are the permissions right now on the folders? Is it using the default that's coming from SASUSERS set in

the DefaultACT?

 

Thanks

Anja

Contributor
Posts: 26

Re: creating a metadata bound library

Hi, Anja. Yes. right now I have access restricted to the subset of users (and DENY for SASUSERS and PUBLIC) for the "plain" metadata folders in question. The end users just have "Read Metadata" and "Read" through use of an ACT.

Hope this helps,

Solution
‎06-22-2016 08:31 AM
SAS Super FREQ
Posts: 299

Re: creating a metadata bound library

Posted in reply to newtolinux

Hi

 

Given that you do have the permissions set, could you try and create a new lib under /system/secured libraries in the FOLDERS tab, and point that to the same folder you pointed your "regular" metadata lib, created in the lib manager?

Then all you would have to do it protect it with a pwd.

 

Your permissions with RM and WM are sufficiant for bounding.

 

- OS data has to be ready/available, which it should be, given that you created the lib metadata object.

- your permissions are already set correctly with RM and WM

- in the /system/secured libraries (FOLDERS tab), you create the new lib by pointing to the same path that's being assigned to the lib created in Lib Manager

- assign a pwd

 

that creates your bound lib.

 

One thing I'd like to mention when you create a bound lib:

if you start with creating a metadata object in the lib manager, and use - for example - the sasdemo account (external restricted account), and then afterwards try to create a bound lib in the SAS Folders, you'll run into a permission error.

This happens because the metadata server cashed your credentials. To fix this, go to FILE, CLEAR CREDENTIALS CASH.

 

Does that answer your question, does that help?

Thanks

Anja

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 473 views
  • 0 likes
  • 2 in conversation