Your SAS programs, embedded in web apps and elsewhere

Chain of Stored Process - Invoke with the parameter Newwindow

Reply
Highlighted
Occasional Contributor
Posts: 11

Chain of Stored Process - Invoke with the parameter Newwindow

Hi,

 

Here's a new question regarding Chain of Stored Process. This time I have focus on the parameter Newwindow.

According to SAS 9.4 Stored Process Developers Guide, Third Edition, The Parameter Newwindow should display the result in a new window. Do I understand the term "New window" correct if I think it is as a new browser window?

 

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.

The second SP, which is invoked using the parameter "Newwindow", will dsplay the result as either HTML or Excel. When I choose HTML the result is diplayed in the same window. Why is'nt it displayed in a new window?

Below is my code:

data _null_;
	file _webout encoding='UTF-8';
	put "<h1 style=color:ForestGreen align=center> Interne konti med siste transaksjon";
	put "</h1>";
	put "<h3 style=color:Black align=center> Dato tilsvarer siste dag i foregående måned.";
	put "</h3>";
	put "<div Align=Center>";
	put "<body>";
	put "<form ACTION='&_URL'>";
	put "<input TYPE='HIDDEN' NAME='_action' value='form,properties,execute,nobanner,newwindow'>";
	put "<input TYPE='hidden' NAME='_program' VALUE='&_Program._Print'>";

	put "<table BORDER=1 CELLSPACING=1 CELLPADDING=4 WIDTH='30%'>";

	put "<tr BGCOLOR='ForestGreen'>";

run;

Regards

 

 

Morten Fredrik Amundsen

Post a Question
Discussion Stats
  • 0 replies
  • 37 views
  • 0 likes
  • 1 in conversation