<?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: Chain of Stored Process - Invoke with the parameter Newwindow in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/353165#M5336</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's for your reply. However, I'm not sure I do understand what you mean by "form tag"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please post me an example?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Morten Fredrik&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2017 12:38:30 GMT</pubDate>
    <dc:creator>AMUMOR_SAS</dc:creator>
    <dc:date>2017-04-25T12:38:30Z</dc:date>
    <item>
      <title>Chain of Stored Process - Invoke with the parameter Newwindow</title>
      <link>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/352072#M5334</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a new question&amp;nbsp;regarding &lt;FONT size="4"&gt;Chain of Stored Process&lt;/FONT&gt;. This time I have focus on the parameter Newwindow.&lt;/P&gt;&lt;P&gt;According to &lt;FONT color="#ff0000"&gt;SAS 9.4 Stored Process Developers Guide&lt;/FONT&gt;, &lt;FONT color="#ff0000"&gt;Third Edition&lt;/FONT&gt;, The Parameter Newwindow should display the result in a new window.&amp;nbsp;Do I understand the term "New window" correct if I think it is as a new browser window?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I invoke the main Stored Process from the SAS Delivery Portal. This SP displays a menu from where the user can select e.g. at date.&lt;/P&gt;&lt;P&gt;The second SP, which is invoked using the parameter "Newwindow",&amp;nbsp;will dsplay the result as either HTML or Excel. When I choose HTML the result is diplayed in the same window. Why is'nt&amp;nbsp;it displayed&amp;nbsp;in a new window?&lt;/P&gt;&lt;P&gt;Below is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
	file _webout encoding='UTF-8';
	put "&amp;lt;h1 style=color:ForestGreen align=center&amp;gt; Interne konti med siste transaksjon";
	put "&amp;lt;/h1&amp;gt;";
	put "&amp;lt;h3 style=color:Black align=center&amp;gt; Dato tilsvarer siste dag i foregående måned.";
	put "&amp;lt;/h3&amp;gt;";
	put "&amp;lt;div Align=Center&amp;gt;";
	put "&amp;lt;body&amp;gt;";
	put "&amp;lt;form ACTION='&amp;amp;_URL'&amp;gt;";
	put "&amp;lt;input TYPE='HIDDEN' NAME='_action' value='form,properties,execute,nobanner,newwindow'&amp;gt;";
	put "&amp;lt;input TYPE='hidden' NAME='_program' VALUE='&amp;amp;_Program._Print'&amp;gt;";

	put "&amp;lt;table BORDER=1 CELLSPACING=1 CELLPADDING=4 WIDTH='30%'&amp;gt;";

	put "&amp;lt;tr BGCOLOR='ForestGreen'&amp;gt;";

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Morten Fredrik Amundsen&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 07:20:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/352072#M5334</guid>
      <dc:creator>AMUMOR_SAS</dc:creator>
      <dc:date>2017-04-21T07:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Chain of Stored Process - Invoke with the parameter Newwindow</title>
      <link>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/353146#M5335</link>
      <description>&lt;P&gt;In your form tag add&lt;/P&gt;&lt;PRE&gt;target="_blank"&lt;/PRE&gt;&lt;P&gt;hth&lt;/P&gt;&lt;P&gt;Cameron&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 11:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/353146#M5335</guid>
      <dc:creator>foobarbaz</dc:creator>
      <dc:date>2017-04-25T11:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Chain of Stored Process - Invoke with the parameter Newwindow</title>
      <link>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/353165#M5336</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank's for your reply. However, I'm not sure I do understand what you mean by "form tag"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please post me an example?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Morten Fredrik&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 12:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/353165#M5336</guid>
      <dc:creator>AMUMOR_SAS</dc:creator>
      <dc:date>2017-04-25T12:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Chain of Stored Process - Invoke with the parameter Newwindow</title>
      <link>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/353469#M5337</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the following line;&lt;/P&gt;&lt;PRE&gt;put "&amp;lt;form ACTION='&amp;amp;_URL'&amp;gt;";&lt;/PRE&gt;&lt;P&gt;Change to&lt;/P&gt;&lt;PRE&gt;put "&amp;lt;form ACTION='&amp;amp;_URL' target='_blank'&amp;gt;";&lt;/PRE&gt;&lt;P&gt;The following link is a good starting spot for how to direct html form output.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.w3schools.com/tags/att_form_target.asp" target="_blank"&gt;https://www.w3schools.com/tags/att_form_target.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cameron&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 21:23:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/353469#M5337</guid>
      <dc:creator>foobarbaz</dc:creator>
      <dc:date>2017-04-25T21:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Chain of Stored Process - Invoke with the parameter Newwindow</title>
      <link>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/353567#M5338</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all Replys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This Community is outstanding, I must say.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Morten Fredrik&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 06:05:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/353567#M5338</guid>
      <dc:creator>AMUMOR_SAS</dc:creator>
      <dc:date>2017-04-26T06:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Chain of Stored Process - Invoke with the parameter Newwindow</title>
      <link>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/364445#M5339</link>
      <description>Not really directly related to your question, but you might want to look into PROC STREAM (with outfile=_webout). You'll save yourself from typing all of those ' PUT""; ' statements.</description>
      <pubDate>Tue, 06 Jun 2017 02:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/364445#M5339</guid>
      <dc:creator>J_Fredlund</dc:creator>
      <dc:date>2017-06-06T02:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Chain of Stored Process - Invoke with the parameter Newwindow</title>
      <link>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/364501#M5340</link>
      <description>Hi,&lt;BR /&gt;Thanks for tip.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Morten Fredrik</description>
      <pubDate>Tue, 06 Jun 2017 09:29:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Chain-of-Stored-Process-Invoke-with-the-parameter-Newwindow/m-p/364501#M5340</guid>
      <dc:creator>AMUMOR_SAS</dc:creator>
      <dc:date>2017-06-06T09:29:14Z</dc:date>
    </item>
  </channel>
</rss>

