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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1135 views
  • 0 likes
  • 1 in conversation