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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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