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

In the Animate Snowfall in SAS article of The Do Loop blog, Rick Wicklin provided a program for making a winter greeting card. 

 

When I run this in SAS Enterprise Guide, I get these messages in the log:

 

 ods printer file='C:\AnimGif\Snow\Anim.gif';         
 /* images saved into animated GIF */

NOTE: Writing ODS PRINTER output to DISK destination 
"C:\AnimGif\Snow\Anim.gif", printer "gif".

 ods html select none;                                
 /* suppress screen output */

ERROR: The HTML destination is not active; no select/exclude lists are available.

 

Despite the NOTE,  ods printer file='C:\AnimGif\Snow\Anim.gif';  is not created. 

 

I do not want HTML output. I would want to insert this gif into an email. How do I do that?

If I can save the file, I can copy-paste it. Would it retain its animation properties?

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Did you modify the ODS PRINTER path in your program to a path your computer has access to?
I'm guessing there's no folder called AnimGif under your C drive so that is the cause of your error.

 

I modified the ODS PRINTER line to be a path I had access to and the file was generated. I did get ERRORS regarding the ODS HTML but it doesn't impact the results in this case. You can then navigate to the location specified and copy paste that into an email or as an attachment. If you embed a GIF in a presentation it does work. It also works in a browser and can be sent via IM to work on a phone or tablet. Limitations of this are the limitations to GIF files and is not SAS specific.

 


@pink_poodle wrote:

In the Animate Snowfall in SAS article of The Do Loop blog, Rick Wicklin provided a program for making a winter greeting card. 

 

When I run this in SAS Enterprise Guide, I get these messages in the log:

 

 ods printer file='C:\AnimGif\Snow\Anim.gif';         
 /* images saved into animated GIF */

NOTE: Writing ODS PRINTER output to DISK destination 
"C:\AnimGif\Snow\Anim.gif", printer "gif".

 ods html select none;                                
 /* suppress screen output */

ERROR: The HTML destination is not active; no select/exclude lists are available.

 

Despite the NOTE,  ods printer file='C:\AnimGif\Snow\Anim.gif';  is not created. 

 

I do not want HTML output. I would want to insert this gif into an email. How do I do that?

If I can save the file, I can copy-paste it. Would it retain its animation properties?


 

 

View solution in original post

5 REPLIES 5
SuryaKiran
Meteorite | Level 14

Did you make sure that you have licence to SAS/IML ?

Thanks,
Suryakiran
pink_poodle
Barite | Level 11

I did, the license is valid.

Reeza
Super User
You can automatically add this as an attachment to an email but that's a different topic.
pink_poodle
Barite | Level 11
This is an interesting point. I would like to know how it is done. I will start another thread on this matter.
Reeza
Super User

Did you modify the ODS PRINTER path in your program to a path your computer has access to?
I'm guessing there's no folder called AnimGif under your C drive so that is the cause of your error.

 

I modified the ODS PRINTER line to be a path I had access to and the file was generated. I did get ERRORS regarding the ODS HTML but it doesn't impact the results in this case. You can then navigate to the location specified and copy paste that into an email or as an attachment. If you embed a GIF in a presentation it does work. It also works in a browser and can be sent via IM to work on a phone or tablet. Limitations of this are the limitations to GIF files and is not SAS specific.

 


@pink_poodle wrote:

In the Animate Snowfall in SAS article of The Do Loop blog, Rick Wicklin provided a program for making a winter greeting card. 

 

When I run this in SAS Enterprise Guide, I get these messages in the log:

 

 ods printer file='C:\AnimGif\Snow\Anim.gif';         
 /* images saved into animated GIF */

NOTE: Writing ODS PRINTER output to DISK destination 
"C:\AnimGif\Snow\Anim.gif", printer "gif".

 ods html select none;                                
 /* suppress screen output */

ERROR: The HTML destination is not active; no select/exclude lists are available.

 

Despite the NOTE,  ods printer file='C:\AnimGif\Snow\Anim.gif';  is not created. 

 

I do not want HTML output. I would want to insert this gif into an email. How do I do that?

If I can save the file, I can copy-paste it. Would it retain its animation properties?


 

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 798 views
  • 1 like
  • 3 in conversation