<?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: Web Stored Process Path and Program Parameterization Via Management Console in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49561#M2936</link>
    <description>You are correct.  The content on my BI Server is order into three distinct folders:  Development, Test and Production.  It is very easy to promote content from one folder to another with the exception of web stored processes that utilize jsp pages to handle custom input parameters.  In the current usage situation, it is necessary for us to modify the value that is hardcoded in the jsp to reflect the revised directory/program path.  Ideally, we would like to define a stored process parameter in Management Console that is used to pass the correct path to the jsp.  Is this feasible?</description>
    <pubDate>Mon, 01 Feb 2010 19:41:45 GMT</pubDate>
    <dc:creator>JDMTX</dc:creator>
    <dc:date>2010-02-01T19:41:45Z</dc:date>
    <item>
      <title>Web Stored Process Path and Program Parameterization Via Management Console</title>
      <link>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49559#M2934</link>
      <description>Is it possible via Management Console to define a stored process parameter for the program path and name when the web stored process utilizes a custom jsp input page?  I would like to utilize a parameterized value to reduce maintenance overhead by taking the currently hardcoded values out of the jsp page and have them reside in Management Console.&lt;BR /&gt;
&lt;BR /&gt;
Have included an example below that shows the jsp being used in the development environment and the programmer or server administrator has to remember to change this value when promoting a project to either test or production environments.  Realize that this seems like a minor thing but it is easy to overlook when one is fighting dealines.&lt;BR /&gt;
&lt;BR /&gt;
Many Thanks!!!!  &lt;BR /&gt;
&lt;BR /&gt;
----  Begin Example Code ---&lt;BR /&gt;
&lt;BR /&gt;
&lt;FORM action="&amp;lt;%= request.getContextPath() %&amp;gt;/do"&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;INPUT type="HIDDEN" name="_PROGRAM" value="/Development/iMARS/Load_new" /&gt;&lt;/FORM&gt;</description>
      <pubDate>Sun, 31 Jan 2010 01:52:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49559#M2934</guid>
      <dc:creator>JDMTX</dc:creator>
      <dc:date>2010-01-31T01:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Web Stored Process Path and Program Parameterization Via Management Console</title>
      <link>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49560#M2935</link>
      <description>If you define a text-based parameter named "PROGRAM2" you could write some Java code to use that parameter value in the custom JSP page, instead of a hard-coded value.  But if I understand your question, I think you are moving the hard-coding from the JSP page to the stored process definition.  Is that what you want?&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Mon, 01 Feb 2010 19:29:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49560#M2935</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-02-01T19:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Web Stored Process Path and Program Parameterization Via Management Console</title>
      <link>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49561#M2936</link>
      <description>You are correct.  The content on my BI Server is order into three distinct folders:  Development, Test and Production.  It is very easy to promote content from one folder to another with the exception of web stored processes that utilize jsp pages to handle custom input parameters.  In the current usage situation, it is necessary for us to modify the value that is hardcoded in the jsp to reflect the revised directory/program path.  Ideally, we would like to define a stored process parameter in Management Console that is used to pass the correct path to the jsp.  Is this feasible?</description>
      <pubDate>Mon, 01 Feb 2010 19:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49561#M2936</guid>
      <dc:creator>JDMTX</dc:creator>
      <dc:date>2010-02-01T19:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Web Stored Process Path and Program Parameterization Via Management Console</title>
      <link>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49562#M2937</link>
      <description>Which version of SAS are you running, SAS 9.1.3 or SAS 9.2?&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Mon, 01 Feb 2010 19:46:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49562#M2937</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-02-01T19:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Web Stored Process Path and Program Parameterization Via Management Console</title>
      <link>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49563#M2938</link>
      <description>SAS 9.2</description>
      <pubDate>Mon, 01 Feb 2010 20:26:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49563#M2938</guid>
      <dc:creator>JDMTX</dc:creator>
      <dc:date>2010-02-01T20:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Web Stored Process Path and Program Parameterization Via Management Console</title>
      <link>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49564#M2939</link>
      <description>You may not have to add a parameter to the stored process, but instead, use the reserved "parameter" _PROGRAM.  Here is some sample code that works in SAS 9.1.3 and SAS 9.2.  Simply replace the hard-coded value for _PROGRAM:&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;INPUT type="hidden" name="_program" value="&amp;lt;%=request.getParameter(" _program="" /&gt;"&amp;gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Give this a try to see if it meets your needs.&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Tue, 02 Feb 2010 15:09:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Web-Stored-Process-Path-and-Program-Parameterization-Via/m-p/49564#M2939</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2010-02-02T15:09:12Z</dc:date>
    </item>
  </channel>
</rss>

