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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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