Hello,
I am working on a batch file to run many SAS programs overnight. I have the -nologo and -noprint options in my batch file to stop sas from creating the log and lst file, but how or what option do I use to keep SAS from outputting chart and graphs (example: IChart.png)? I have an ODS file that contains all the desired output I want in the specific location written in the SAS code.
Thank you,
Jeff
ods _all_ close;
will suppress output
but why are you creating a chart if you don't want it in the first place?
ods _all_ close;
will suppress output
but why are you creating a chart if you don't want it in the first place?
I do want the charts. What I want is inside my SAS program I have a location specificed with ODS to write an RTF file with all my charts in one single file. But, when I run this program in a batch file to run overnight, it additionally generates all the .png files for each of the charts. I dont want to come into work every morning and have 2000 individual .png files of charts on my desktop.
And also, huge thank you. That did take care of the problem. I have no .png files, but my updated rtf file is in the correct location how I want it.
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.
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.