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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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