Help using Base SAS procedures

ERROR: No metadata objects found matching the specified library.

Reply
New Contributor
Posts: 3

ERROR: No metadata objects found matching the specified library.

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?

Super Contributor
Posts: 305

Re: ERROR: No metadata objects found matching the specified library.

Hello,

 

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

New Contributor
Posts: 3

Re: ERROR: No metadata objects found matching the specified library.

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

 

Thanks

Super Contributor
Posts: 305

Re: ERROR: No metadata objects found matching the specified library.

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.

New Contributor
Posts: 3

Re: ERROR: No metadata objects found matching the specified library.

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

Super User
Posts: 5,257

Re: ERROR: No metadata objects found matching the specified library.

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
Ask a Question
Discussion stats
  • 5 replies
  • 640 views
  • 0 likes
  • 3 in conversation