BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Jolly
Calcite | Level 5

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

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

ods _all_ close;

will suppress output

but why are you creating a chart if you don't want it in the first place?

--
Paige Miller

View solution in original post

3 REPLIES 3
PaigeMiller
Diamond | Level 26

ods _all_ close;

will suppress output

but why are you creating a chart if you don't want it in the first place?

--
Paige Miller
Jolly
Calcite | Level 5

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.

Jolly
Calcite | Level 5

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.

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
  • 3 replies
  • 912 views
  • 0 likes
  • 2 in conversation