<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS Metadata Server connection Update in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/879284#M26760</link>
    <description>An authentication domain is an association instead of a property so you'd need to use METADATA_SETASSN to set the association to one authentication domain versus another. In this case you would need two URIs, the URI of the AuthDomain and that of the connection to associate.&lt;BR /&gt;&lt;BR /&gt;The URI of the connection:&lt;BR /&gt;omsobj:SASClientConnection?SASClientConnection[Source/ServerComponent[@Name='Sybase IQ 1']]"&lt;BR /&gt;&lt;BR /&gt;The URI of the AuthDomain:&lt;BR /&gt;omsobj:AuthenticationDomain?AuthenticationDomain[@Name='DefaultAuth']&lt;BR /&gt;&lt;BR /&gt;You'd use the REPLACE mod for METADATA_SETASSN on the  Domain association of the connection URI.&lt;BR /&gt;&lt;BR /&gt;METADATA_SETASSN Function&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/p1pt2ddn2xhmaen1p5whdq58ithh.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/p1pt2ddn2xhmaen1p5whdq58ithh.htm&lt;/A&gt;</description>
    <pubDate>Mon, 05 Jun 2023 19:02:47 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2023-06-05T19:02:47Z</dc:date>
    <item>
      <title>SAS Metadata Server connection Update</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/878515#M26732</link>
      <description>&lt;P&gt;I have a requirement to update metadata from the Server information option in connections, this need to be switched back and froth due to maintenance , is there any code/automatic option for this , that I can schedule on the required time?&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 18:02:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/878515#M26732</guid>
      <dc:creator>411752</dc:creator>
      <dc:date>2023-05-31T18:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Server connection Update</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/878532#M26733</link>
      <description>Yes, you could write code to modify a servers connection information in Metadata rather than editing the values manually in SAS Management Console if that's what you mean. I don't know that such code already exists. Can you be more specific about what it is you're trying to change?</description>
      <pubDate>Wed, 31 May 2023 18:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/878532#M26733</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-05-31T18:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Server connection Update</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/878547#M26734</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: Yes, thats the code I am looking for.&lt;/P&gt;&lt;P&gt;I wanted to change the database connection server information from below window under the Server Manager-&amp;gt;Database servers-&amp;gt;Connection -&amp;gt;options&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="411752_0-1685560159047.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84540i7452AF1056428273/image-size/medium?v=v2&amp;amp;px=400" role="button" title="411752_0-1685560159047.png" alt="411752_0-1685560159047.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 19:13:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/878547#M26734</guid>
      <dc:creator>411752</dc:creator>
      <dc:date>2023-05-31T19:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Server connection Update</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/878829#M26744</link>
      <description>That information (Host, Server, Port) for a Sybase IQ connection is held in Property objects associated with the connection. So for a server called "Sybase IQ 1", the URI for those properties would be:&lt;BR /&gt;&lt;BR /&gt;obj="omsobj:Property?Property[@Name='Connection.DBMS.Property.SERVER.Name.xmlKey.txt'][AssociatedObject/SASClientConnection/Source/ServerComponent[@Name='Sybase IQ 1']]";&lt;BR /&gt;obj="omsobj:Property?Property[@Name='Connection.DBMS.Property.HOST.Name.xmlKey.txt'][AssociatedObject/SASClientConnection/Source/ServerComponent[@Name='Sybase IQ 1']]";&lt;BR /&gt;obj="omsobj:Property?Property[@Name='Connection.DBMS.Property.NPORT.Name.xmlKey.txt'][AssociatedObject/SASClientConnection/Source/ServerComponent[@Name='Sybase IQ 1']]";&lt;BR /&gt;&lt;BR /&gt;You could use METADATA_SETATTR to update the DefaultValue attribute for these objects to change them.&lt;BR /&gt;&lt;BR /&gt;METADATA_SETATTR Function&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n0t9rzceun8o14n0zi8a1hfls9h7.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n0t9rzceun8o14n0zi8a1hfls9h7.htm&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jun 2023 20:58:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/878829#M26744</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-06-01T20:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Server connection Update</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/878843#M26745</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: Thank you!. I have updated the&amp;nbsp;&lt;SPAN&gt;'Sybase IQ 1' to my server, host and port numbers and used metadata_getattr function but they are returning "-3" , is there any other steps, I need to take care to be able to find them?.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see these entries in the PROP dataset from metadata server repository which are matching with the information I have updated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 21:45:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/878843#M26745</guid>
      <dc:creator>411752</dc:creator>
      <dc:date>2023-06-01T21:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Server connection Update</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/879018#M26752</link>
      <description>You would change "Sybase IQ 1" to the name of your Sybase server in Metadata for all three queries. You would not put the host or port there. This URI translates as the property called "Connection.DBMS..." that is associated with the connection that is associated with the server called "Sybase IQ 1".&lt;BR /&gt;&lt;BR /&gt;A -3 means the URI does not return any results.</description>
      <pubDate>Fri, 02 Jun 2023 14:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/879018#M26752</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-06-02T14:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Server connection Update</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/879283#M26759</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: It worked for me. I also have Authdomain, can you also suggest the URI to use for AuthDomain update?.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 18:47:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/879283#M26759</guid>
      <dc:creator>411752</dc:creator>
      <dc:date>2023-06-05T18:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Metadata Server connection Update</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/879284#M26760</link>
      <description>An authentication domain is an association instead of a property so you'd need to use METADATA_SETASSN to set the association to one authentication domain versus another. In this case you would need two URIs, the URI of the AuthDomain and that of the connection to associate.&lt;BR /&gt;&lt;BR /&gt;The URI of the connection:&lt;BR /&gt;omsobj:SASClientConnection?SASClientConnection[Source/ServerComponent[@Name='Sybase IQ 1']]"&lt;BR /&gt;&lt;BR /&gt;The URI of the AuthDomain:&lt;BR /&gt;omsobj:AuthenticationDomain?AuthenticationDomain[@Name='DefaultAuth']&lt;BR /&gt;&lt;BR /&gt;You'd use the REPLACE mod for METADATA_SETASSN on the  Domain association of the connection URI.&lt;BR /&gt;&lt;BR /&gt;METADATA_SETASSN Function&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/p1pt2ddn2xhmaen1p5whdq58ithh.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/p1pt2ddn2xhmaen1p5whdq58ithh.htm&lt;/A&gt;</description>
      <pubDate>Mon, 05 Jun 2023 19:02:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-Metadata-Server-connection-Update/m-p/879284#M26760</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-06-05T19:02:47Z</dc:date>
    </item>
  </channel>
</rss>

