I’ve got some sas code that generates html which contains an sgplot with drillable data points. When clicking on a line marker, it runs code in sas job execution. This all works fine in studio. Now I’m trying to run it in sas job execution and I can’t get the output to appear. There are no errors in the log. I think I’m just not specifying the correct job definition parameters. Can you advise? Also, would I leave off the ods html and ods graph statements in my code?
Here are the ods statements which I currently have commented out:
/* ods html device=png style=htmlblue newfile=page; */
/* ods graphics / reset imagemap=yes height=4in width=7in outputfmt=png; */
Here are the job definition parameters:
_action=wait
_ODSSTYLE=HTMLBlue
_OUTPUT_TYPE=html
_ODSDEST=html
_ODS_DEVICE=png
I get the html page with a missing icon for the sgplot output.
%jesbegin is generating these ods statements:
ods graphics on / outputfmt=png;
ods html style=HTMLBlue file=_webout;
Try setting:
_ODSOPTIONS = options(BITMAP_MODE='inline')
This option will convert your binary picture into a BASE64-encoded string that is included into the HTML. The pictures are not stored as separate binary files.
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 16. Read more here about why you should contribute and what is in it for you!
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.