BookmarkSubscribeRSS Feed
MarcTC
Obsidian | Level 7
The Stored Processes developer guide gives the example code for creating a image output. That works fine standalone. But I was not able to mix it with a text output. Please see the following code. Any suggestions?


data rpt;
a=1; b=1; output;
a=3; b=2; output;
a=2; b=4; output;
run;

ods html body=_webout(nobot) rs=none;

proc print data=rpt;
run;

ods html close;


%let old=%sysfunc(stpsrv_header(pragma, nocache));

goptions gsfname=_webout gsfmode=replace
dev=jpeg xpixels=400 ypixels=300;

proc gplot data=rpt;
plot a*b;
run; quit;
2 REPLIES 2
Vince_SAS
Rhodochrosite | Level 12
A sample stored process that creates a table and graph can be found here:

http://support.sas.com/documentation/cdl/en/stpug/61271/HTML/default/viewer.htm#a003152774.htm

Vince DelGobbo
SAS R&D
MarcTC
Obsidian | Level 7
If I want to create a html output with the mix like this:

Text
Chart
Text
Chart
....

An example: http://seekingalpha.com/instablog/434087-small-cap-network/20594-tin-ignt-siri-technical-chart-snaps...

Any suggestions for how to do it in stored processes? Message was edited by: MarcTC

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 1000 views
  • 0 likes
  • 2 in conversation