<?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: Change REPOSITORY/LOGIN credentials at top of EG script? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Change-REPOSITORY-LOGIN-credentials-at-top-of-EG-script/m-p/24144#M3691</link>
    <description>Unfortunately, no.  There isn't a way to create a profile on the fly via automation, although you might be able to rig something up by creating a Configuration42.xml file in the profile area for the running user.  That would require some additional script logic on your part.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
    <pubDate>Thu, 03 Jun 2010 14:46:35 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2010-06-03T14:46:35Z</dc:date>
    <item>
      <title>Change REPOSITORY/LOGIN credentials at top of EG script?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Change-REPOSITORY-LOGIN-credentials-at-top-of-EG-script/m-p/24141#M3688</link>
      <description>I would like to be able to change the login credentials at the top of a SAS script in EG. For example, when I run PROC OLAP to create a cube, I need to use a different user-id than the one I use for all other types of development. Currently, I am just manually changing the "Repository and Server" to use a different connection that conatins the 2nd userid. Then when the script is finished, I change it back. Is there a way to automate this using SAS code?</description>
      <pubDate>Tue, 18 May 2010 21:53:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Change-REPOSITORY-LOGIN-credentials-at-top-of-EG-script/m-p/24141#M3688</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-05-18T21:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change REPOSITORY/LOGIN credentials at top of EG script?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Change-REPOSITORY-LOGIN-credentials-at-top-of-EG-script/m-p/24142#M3689</link>
      <description>You can change the EG script (VBS file) to call SetActiveProfile on the application object.  Something like:&lt;BR /&gt;
&lt;BR /&gt;
  objApp.SetActiveProfile("MyOlapProfile")&lt;BR /&gt;
&lt;BR /&gt;
This assumes that the necessary credentials are available within the profile.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Wed, 26 May 2010 20:59:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Change-REPOSITORY-LOGIN-credentials-at-top-of-EG-script/m-p/24142#M3689</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2010-05-26T20:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change REPOSITORY/LOGIN credentials at top of EG script?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Change-REPOSITORY-LOGIN-credentials-at-top-of-EG-script/m-p/24143#M3690</link>
      <description>Chris:&lt;BR /&gt;
&lt;BR /&gt;
Is there a similar way to set the server, port, user, and password without calling the profile itself?  I'm trying to schedule the EG vbs using a 3rd party enterprise scheduler.  The problem I appear to be hitting is that the runtime user in the scheduler logs into the server as a non-interactive user.  Since there is no profile available to it the vbs executes, but no code is run in the EG 4.2 project.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Wed, 02 Jun 2010 14:46:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Change-REPOSITORY-LOGIN-credentials-at-top-of-EG-script/m-p/24143#M3690</guid>
      <dc:creator>jklein271</dc:creator>
      <dc:date>2010-06-02T14:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change REPOSITORY/LOGIN credentials at top of EG script?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Change-REPOSITORY-LOGIN-credentials-at-top-of-EG-script/m-p/24144#M3691</link>
      <description>Unfortunately, no.  There isn't a way to create a profile on the fly via automation, although you might be able to rig something up by creating a Configuration42.xml file in the profile area for the running user.  That would require some additional script logic on your part.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Thu, 03 Jun 2010 14:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Change-REPOSITORY-LOGIN-credentials-at-top-of-EG-script/m-p/24144#M3691</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2010-06-03T14:46:35Z</dc:date>
    </item>
  </channel>
</rss>

