BookmarkSubscribeRSS Feed
dav_amol
Calcite | Level 5

Hi, 

 

    We have 2 stored processes. First Stored process which creates a custom input form to accept the input parameters from user. When user submits this form , it executes second stored process which generates the report corresponding to given inputs. This is working perfectly fine. 

 

  Now we want to display the custom form in left iframe and upon submission of the form , second stored process should generate map in right iframe. To fulfill this requirement , we have created third stored process as given below. However , whenever we execute this stored process it creates 2 frames but displays SAS Stored process Web application index(home) page instead of custom form in left iframe. Could you please help me to figure out the root cause for displaying this index page instead of custom form in iframe and possible solution to this problem?

 

 

Stored Process code :

------------

%*let stpname=/Prod/Stored Processes/Test/DMM_Map_Visualization3;

%let stpname=%2FProd%2FStored+Processes%2FTest%2FDMM_Map_Visualization3;

data _null_;
format infile $char256.;
input;
infile = resolve(_infile_);
file _webout;
put infile;
cards4;
<HTML>
<head><title>Frame test</title></head>
<table style="width:100%">
<tr>
<td width="50%">
<iframe scrolling="no" width="40%" height="1000"
src="http://ServerName/SASStoredProcess/do?_action=form,properties,execute&_program=&stpname.&_target=rightside"
name="leftside">
</td>
<td width="50%">
<iframe src="" name="rightside" width="60%" height="1000">
</iframe>
</td></tr>
</table>
</HTML>
;;;;
run;

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 0 replies
  • 1124 views
  • 0 likes
  • 1 in conversation