BookmarkSubscribeRSS Feed
razormore
Fluorite | Level 6

Hello,

 

I am running into a problem when I run proc metalib.

 

I get the following error (ERROR: No metadata objects found matching the specified library.) after running the code below:

 

libname _PMTA01_ (CAD);
proc metalib;
omr (library="CAD");
select("ACCOUNTS_NEW");
report;
run;

 

Anybody have any thoughts?

5 REPLIES 5
Loko
Barite | Level 11

Hello,

 

Try using (library=CAD) and check that your library is defined within metadata.

razormore
Fluorite | Level 6

Thanks, can you tell me how I check if my libname was defined in the metadata?

 

Thanks

Loko
Barite | Level 11

Hello,

 

We use SAS Management Console to connect to metadata server.

You also need to make sure you connect to metadata server when running the PROC METALIB procedure.

razormore
Fluorite | Level 6

Is there a way to connect to the metadata server without using SAS Management Console? (is there a SAS proc?)

I am pretty new to all things metadata.

 

Thanks

LinusH
Tourmaline | Level 20
Why would you for such a task as checking a libname. And Management Console is one of the major Metadata entry tool.

You can connect from a DMS SAS session and use the Metadata explorer.

If there's a PROC? Yes, METALIB...
Data never sleeps

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2420 views
  • 0 likes
  • 3 in conversation