Desktop productivity for business analysts and programmers

Metadata Server : Setting Library attributes and properties

Reply
N/A
Posts: 0

Metadata Server : Setting Library attributes and properties

Hi,

I have been able to create libraries in the metadata server using the below code:

options metaserver="xyz111"
metaport= 8561
metaprotocol=bridge
metauser="sasadm"
metapass="{sas001}c2FzYWRt"
metarepository="foundation";


data _null_;
length uri $256 rc $256 ;
rc=0;
/* Create a SASLibrary object. */

rc=metadata_newobj("SASLibrary",uri,"ADMIN");
put rc=;
put uri=;
run;

Could anyone please guide me as how I could set the other attributes and properties for the library (like directory, libname, engine, servercontext, ACT, etc). I am not supposed to use the proc metadata method to solve this. I am supposed to use the rc = metadata_setatr()(or methods like this). If anyone could guide me it would be a great help. Thanks in advance. Smiley Happy

Regards,
Mihir Vora
Mobile : +65 9152 0724
SAS Super FREQ
Posts: 8,820

Re: Metadata Server : Setting Library attributes and properties

In this manual:
http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/omd_ref_9966.pdf entitled
SAS® 9.1.3 Open Metadata Interface Reference (Second Edition) it says that:
For more information about defining a SASLibrary metadata object, refer to Usage Scenario: "Creating Metadata for a SASLibrary" in "Model Usage Scenarios" in the SAS Open Metadata Interface: User?s Guide.

The URL for referencing the above user's guide is:
http://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/omd_interug_9964.pdf

However, you might want to contact Tech Support for more help with this question, as there might be particular issues when trying to do this in a program versus PROC METADATA that they know about and are able to help you with.

To find out about contacting Tech Support, refer to this site: http://support.sas.com/techsup/contact/index.html

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 89 views
  • 0 likes
  • 2 in conversation