<?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: Stored Process should not use username and password to access Info map in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-should-not-use-username-and-password-to-access/m-p/4246#M1347</link>
    <description>Ah Grasshopper,&lt;BR /&gt;
&lt;BR /&gt;
You'll have to hard code the user/password for now in order to use the INFOMAPS (sasioime) libname engine.  You can at least use PROC PWENCODE to encode the password so it isn't clear text.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
    <pubDate>Fri, 24 Aug 2007 14:59:06 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2007-08-24T14:59:06Z</dc:date>
    <item>
      <title>Stored Process should not use username and password to access Info map</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-should-not-use-username-and-password-to-access/m-p/4243#M1344</link>
      <description>Hi,&lt;BR /&gt;
I have a Stored Process that was created from an Enterprise Guide project. The project uses an Information Map. Issue is that the Stored Process that gets created uses the username and password to access the Information Map.&lt;BR /&gt;
&lt;BR /&gt;
When the Stored Process is run through any SAS application (like WRS, EG, Stored Process Server) the user credentials are passed through the SAS global variables that store the username and password. &lt;BR /&gt;
&lt;BR /&gt;
But when the Stored Process is executed i.e. scheduled though non SAS applications like LSF the user credentials are not passed and hence the Stored Process fails.&lt;BR /&gt;
&lt;BR /&gt;
Is there any way by which we can suppress the use of username and password to access Information Map&lt;BR /&gt;
&lt;BR /&gt;
Stored Process Code is shown below.&lt;BR /&gt;
&lt;BR /&gt;
/* --- Start of code for "Import Quarterly_summary". --- */&lt;BR /&gt;
/* Save off the current value of the validvarname option */&lt;BR /&gt;
%let _imapValidVarName=%sysfunc(getoption(validvarname,keyword));&lt;BR /&gt;
&lt;BR /&gt;
/* need for proper data column names in the InfoMap Libname Engine */&lt;BR /&gt;
options validvarname=v7;&lt;BR /&gt;
&lt;BR /&gt;
libname _egmle sasioime &lt;BR /&gt;
	user="&amp;amp;_InfoMapUser"&lt;BR /&gt;
	pw="&amp;amp;_InfoMapPassword"&lt;BR /&gt;
	metaserver="msr008.bsil.com"&lt;BR /&gt;
	metaport=8561&lt;BR /&gt;
	metarepository="Foundation"&lt;BR /&gt;
	mappath="/BIP Tree/ReportStudio/Maps"&lt;BR /&gt;
	PRESERVE_TAB_NAMES=YES;&lt;BR /&gt;
&lt;BR /&gt;
data WORK.Quarterly_summary (label='Selected Data from Quarterly_summary');&lt;BR /&gt;
    length &lt;BR /&gt;
		Act_Expect_Bonus_Diff_Perc 8&lt;BR /&gt;
		Actual_Qtd 8&lt;BR /&gt;
		Actual_Ytd 8&lt;BR /&gt;
		Bonus 8&lt;BR /&gt;
		Bonus_Expected 8&lt;BR /&gt;
		;&lt;BR /&gt;
	set _egmle."Quarterly_summary"n (keep=Act_Expect_Bonus_Diff_Perc Actual_Qtd Actual_Ytd Bonus Bonus_Expected   );&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
/* clear the libname when complete */&lt;BR /&gt;
libname _egmle clear;&lt;BR /&gt;
&lt;BR /&gt;
/* restore the validvarname option */&lt;BR /&gt;
/* NOTE: Might cause a warning if value is VALIDVARNAME=ANY */&lt;BR /&gt;
options &amp;amp;_imapValidVarName;&lt;BR /&gt;
&lt;BR /&gt;
/* --- End of code for "Import Quarterly_summary". --- */</description>
      <pubDate>Mon, 20 Aug 2007 15:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-should-not-use-username-and-password-to-access/m-p/4243#M1344</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-08-20T15:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process should not use username and password to access Info map</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-should-not-use-username-and-password-to-access/m-p/4244#M1345</link>
      <description>Sunil,&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately, this is a limitation of the INFOMAPS library engine that won't be addressed until SAS 9.2.&lt;BR /&gt;
&lt;BR /&gt;
EG "promoted" the user/password values for the Information Map task to hidden parameters in the stored process.  You could change the stored process to prompt for those parameters instead, but that might not offer the best user experience either.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Mon, 20 Aug 2007 16:03:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-should-not-use-username-and-password-to-access/m-p/4244#M1345</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2007-08-20T16:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process should not use username and password to access Info map</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-should-not-use-username-and-password-to-access/m-p/4245#M1346</link>
      <description>Hi Chris&lt;BR /&gt;
&lt;BR /&gt;
Issue here is that when the stored process is scheduled through LSF the Username and password is not passed. &lt;BR /&gt;
&lt;BR /&gt;
So should we modify the Stored Process and&lt;BR /&gt;
&lt;BR /&gt;
1. Hardcode the username and password or&lt;BR /&gt;
2. Can we remove the code of username and password.&lt;BR /&gt;
&lt;BR /&gt;
GrassHopper</description>
      <pubDate>Wed, 22 Aug 2007 21:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-should-not-use-username-and-password-to-access/m-p/4245#M1346</guid>
      <dc:creator>SanjayM</dc:creator>
      <dc:date>2007-08-22T21:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process should not use username and password to access Info map</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-should-not-use-username-and-password-to-access/m-p/4246#M1347</link>
      <description>Ah Grasshopper,&lt;BR /&gt;
&lt;BR /&gt;
You'll have to hard code the user/password for now in order to use the INFOMAPS (sasioime) libname engine.  You can at least use PROC PWENCODE to encode the password so it isn't clear text.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Fri, 24 Aug 2007 14:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Stored-Process-should-not-use-username-and-password-to-access/m-p/4246#M1347</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2007-08-24T14:59:06Z</dc:date>
    </item>
  </channel>
</rss>

