BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Jlochoa
Obsidian | Level 7
Hi Greg,
Is there a way to use (with SASSTUDIO) your code on a Metadata Server running on a separate machine?
AhmedAl_Attar
Ammonite | Level 13

Hi @Jlochoa 

For any SAS Client connecting to SAS Metadata Server, the following code sholuld allow you to access what needed

/* Assign Metadata Server Options */
OPTIONS METASERVER=<metaDataServerHost>
	METAPORT=<metaDataServerPort>
	METAUSER="<metaUserId>"
        METAPASS="<metaUserPw>"
        METAPROTOCOL=bridge;

PS. Replace the values inside the <> with your site settings

You'll be connected to the metadata server, and running the %mdxxxx macros will extract the data correctly.

 

Hope this helps,

Ahmed

gwootton
SAS Super FREQ
A SAS Studio session runs on a Workspace Server which should already have a connection to the metadata server, however this particular program does not pull information from the Metadata Server, it reads supplied log files line by line and puts the information gathered into a series of SAS data sets.
--
Greg Wootton | Principal Systems Technical Support Engineer
gwootton
SAS Super FREQ
The code reads Metadata log files, so those files would need to be accessible to the SAS session. You would copy them from the Metadata Server host to the Compute tier host before running the program.
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 18 replies
  • 2669 views
  • 3 likes
  • 7 in conversation