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: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

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

Browse our catalog!

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