BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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. 🙂

Regards,
Mihir Vora
Mobile : +65 9152 0724
1 REPLY 1
Cynthia_sas
SAS Super FREQ
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

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 622 views
  • 0 likes
  • 2 in conversation