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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1238 views
  • 0 likes
  • 2 in conversation