BookmarkSubscribeRSS Feed
Billybob73
Quartz | Level 8

Hi,

I would like the proc print to work in the code below through a stored process, but it won't. I'm lost.. How do I get this to work ?
Thanks!!

Rgds

BB

 

data _null_;
  format infile $char256.; 
  input;
  infile = resolve(_infile_);
  file _webout;
  put infile;
cards; 
<html><body BGCOLOR="silver">
<H3>Customer Submission Form</H3>
<form action="&_URL">
<input type="hidden" name="age"
value="&age">
Select the age of the students to be listed:
<select name="age" >
<option value="11"> 11
<option value="12"> 12
<option value="13"> 13
<option value="14"> 14
<option value="15"> 15
<option value="16"> 16
</select>
<br><br>
<input type=checkbox name="_debug" value="log"> Show SAS log?
<br><br>
<input type=submit value="Execute Stored Process">
</body></html>
;
run;


proc print data=sashelp.class;
where age = &age;
title1 "&age-Year-Old Students";
run;

 

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

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