<?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: Start Stored Process from Stored Process in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6513#M2180</link>
    <description>Hi:&lt;BR /&gt;
This post is interesting. How would you specify in the htref link to specify a parameter without hard coding it? In other words, without hard coding &amp;amp;region=Canada ?&lt;BR /&gt;
I could think of creating a concatanated string but is there a more simple way?&lt;BR /&gt;
Thanks,&lt;BR /&gt;
jp&lt;BR /&gt;
&lt;BR /&gt;
&lt;A target="new" href="http://yourserver.com:8080/SASStoredProcess/do?_program=/MyFolder/MyStoredProcess&amp;amp;region=Canada"&gt;Click here to launch the Stored Process&lt;/A&gt;</description>
    <pubDate>Thu, 08 Oct 2009 12:58:35 GMT</pubDate>
    <dc:creator>jplarios</dc:creator>
    <dc:date>2009-10-08T12:58:35Z</dc:date>
    <item>
      <title>Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6504#M2171</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I would like to start a Stored Process within an other Stored Process.&lt;BR /&gt;
Can anyone tell me how to do this?&lt;BR /&gt;
&lt;BR /&gt;
Thnx.&lt;BR /&gt;
Thierry</description>
      <pubDate>Wed, 23 Jan 2008 10:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6504#M2171</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-01-23T10:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6505#M2172</link>
      <description>you can achieve this with two methods - &lt;BR /&gt;
&lt;BR /&gt;
1 create a url link pointing to the new stored process. &lt;BR /&gt;
&lt;BR /&gt;
or &lt;BR /&gt;
&lt;BR /&gt;
2 a redirect script. The first stored process writes out some html which then redirects to the second script. &lt;BR /&gt;
&lt;BR /&gt;
send me a mail I can give you some examples.&lt;BR /&gt;
&lt;BR /&gt;
Other readers interested. Let me know I can post some code here.</description>
      <pubDate>Wed, 23 Jan 2008 14:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6505#M2172</guid>
      <dc:creator>RMP</dc:creator>
      <dc:date>2008-01-23T14:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6506#M2173</link>
      <description>Could you post some code here ?&lt;BR /&gt;
&lt;BR /&gt;
Thank you.</description>
      <pubDate>Mon, 28 Jan 2008 21:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6506#M2173</guid>
      <dc:creator>Stephane</dc:creator>
      <dc:date>2008-01-28T21:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6507#M2174</link>
      <description>Hi:&lt;BR /&gt;
  Before you post any code with LT or GT symbols (as in HTML tags) remember that the LT symbol needs to be changed to &amp;amp;lt; (ampersand-lt;) and the GT symbol needs to be changed to &amp;amp;gt; (ampersand-gt;) in order to be able to post successfully.&lt;BR /&gt;
&lt;BR /&gt;
  So for example, an example of a URL that calls the Stored Process Web App is:&lt;BR /&gt;
[pre]&lt;BR /&gt;
&amp;lt;a target="new" href="http://yourserver.com:8080/SASStoredProcess/do?&lt;BR /&gt;
_program=/MyFolder/MyStoredProcess&amp;amp;region=Canada"&amp;gt;&lt;BR /&gt;
Click here to launch the Stored Process&amp;lt;/a&amp;gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
as discussed here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/stpwebapp.html" target="_blank"&gt;http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/stpwebapp.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Every LT or GT symbol in the above HTML tag was coded with &amp;amp;lt; and &amp;amp;gt; -- inside a [ pre ] and [ /pre ] section (there are no spaces between the square brackets and the words pre or /pre).&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 28 Jan 2008 23:33:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6507#M2174</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-01-28T23:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6508#M2175</link>
      <description>create a stored process and add the following data step. This code calls the second stored process defined in the URL parameter. &lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
 file _webout;&lt;BR /&gt;
 put '';&lt;BR /&gt;
 put "&lt;META http-equiv="" refresh="" /&gt;";&lt;BR /&gt;
 put '';&lt;BR /&gt;
 put '';&lt;BR /&gt;
 put '';&lt;BR /&gt;
 put '';&lt;BR /&gt;
run;</description>
      <pubDate>Thu, 07 Feb 2008 13:36:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6508#M2175</guid>
      <dc:creator>RMP</dc:creator>
      <dc:date>2008-02-07T13:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6509#M2176</link>
      <description>Cynthia, &lt;BR /&gt;
&lt;BR /&gt;
I just posted the code 'as is' and it appears to be ok.</description>
      <pubDate>Thu, 07 Feb 2008 13:38:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6509#M2176</guid>
      <dc:creator>RMP</dc:creator>
      <dc:date>2008-02-07T13:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6510#M2177</link>
      <description>That's good. Every time I try to post with &amp;lt; or &amp;gt; symbols in code, my posting gets trashed. Perhaps they've now changed the message handling. Up above, I have &amp;amp;-lt-;&lt;BR /&gt;
&lt;BR /&gt;
but, for example, here I have the BODY tag in the next line&lt;BR /&gt;
&lt;BR /&gt;
and now what will happen????&lt;BR /&gt;
&lt;BR /&gt;
Ah, very nice -- that IS different behavior than I've seen in the past.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 07 Feb 2008 17:26:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6510#M2177</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-02-07T17:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6511#M2178</link>
      <description>Would this also work in Excel with the MS Add-In or Enterprise Guide?</description>
      <pubDate>Fri, 07 Mar 2008 16:44:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6511#M2178</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-03-07T16:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6512#M2179</link>
      <description>Hi:&lt;BR /&gt;
  The Stored Process Web Application -- what is used when you invoke SASStoredProcess?do via URL&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;A href="http://yourserver.com:8080/SASStoredProcess/do" target="_blank"&gt;http://yourserver.com:8080/SASStoredProcess/do&lt;/A&gt;?&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 is generally used with HTML/web services applications.&lt;BR /&gt;
&lt;BR /&gt;
   I have never tested trying to invoke a stored process from a stored process using the SPWA and the SAS Add-in. My sense is that it won't work. My suggestion is to contact Tech Support with this question.&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 07 Mar 2008 17:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6512#M2179</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-03-07T17:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6513#M2180</link>
      <description>Hi:&lt;BR /&gt;
This post is interesting. How would you specify in the htref link to specify a parameter without hard coding it? In other words, without hard coding &amp;amp;region=Canada ?&lt;BR /&gt;
I could think of creating a concatanated string but is there a more simple way?&lt;BR /&gt;
Thanks,&lt;BR /&gt;
jp&lt;BR /&gt;
&lt;BR /&gt;
&lt;A target="new" href="http://yourserver.com:8080/SASStoredProcess/do?_program=/MyFolder/MyStoredProcess&amp;amp;region=Canada"&gt;Click here to launch the Stored Process&lt;/A&gt;</description>
      <pubDate>Thu, 08 Oct 2009 12:58:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6513#M2180</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2009-10-08T12:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6514#M2181</link>
      <description>You can use a concatenated string in the DATA Step using the concatenation operator, or the CAT* functions.  Here is an example:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
data _null_;&lt;BR /&gt;
length string $1024;&lt;BR /&gt;
set sashelp.shoes; by region;&lt;BR /&gt;
if first.region;&lt;BR /&gt;
string = '&amp;lt;a target="new" href="http://yourserver.com:8080/SASStoredProcess/do' ||&lt;BR /&gt;
         '?_program=/MyFolder/MyStoredProcess&amp;amp;region=' ||&lt;BR /&gt;
         urlencode(strip(region)) ||&lt;BR /&gt;
         '"&amp;gt;Click here to launch the Stored Process for ' ||&lt;BR /&gt;
         strip(region) ||&lt;BR /&gt;
         '&amp;lt;/a&amp;gt;';&lt;BR /&gt;
file _webout;&lt;BR /&gt;
put string;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Thu, 08 Oct 2009 13:34:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6514#M2181</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2009-10-08T13:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Start Stored Process from Stored Process</title>
      <link>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6515#M2182</link>
      <description>Thanks Vince.&lt;BR /&gt;
jp</description>
      <pubDate>Tue, 13 Oct 2009 17:53:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Start-Stored-Process-from-Stored-Process/m-p/6515#M2182</guid>
      <dc:creator>jplarios</dc:creator>
      <dc:date>2009-10-13T17:53:18Z</dc:date>
    </item>
  </channel>
</rss>

