I tried creating some graphs with data tips, based on this example:
I run my program in batch on Windows, SAS 9.3.
Works great - BUT:
I'm sure these things are really simple, but darned if I can figure it out. Can some kind person help?
I don't have 9.3 but 9.2 has an option reached by using Tools>Option>Preferences>Results , uncheck box "View results as generated"
Remember to turn it back on afterwards!
ODS HTML path sets where your output files are going but if you want the graphics in a folder other than that with the HTML then you'll need to work with other options to ensure the references in the HTML point to that folder.
For question #2, you want the "gpath=" option on the ODS HTML statement. From the SAS 9.3 ODS User's Guide:
"specifies the location for all graphics output that is generated while the destination is open. Use this option when you want to write graphics output files to a location different that specified by the PATH= option for markup files."
Thanks, the GPATH= option on the ODS HTML statement lets me put all the graphics files away in a separate subdirectory.
For the other problem - having to respond while it displays all the graphs on screen, even though running in 'noninteractive' or 'batch' mode:
helps, insofar as the graphs just flash by on screen without requiring any user interaction.
I found that if I also specify:
then I don't even see anything on screen at all, which is great, although then I get a duplicate set of graphics files in (by default) a 'sasgraph' subdirectory (I think that can be changed using the GSFNAME= option).
If I could have
that would be perfect. But what I have now is good enough for my purposes.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.