rtf warning in sas 9.2

Reply
Occasional Contributor
Posts: 12

rtf warning in sas 9.2

Hi all,

When I output rtf files via ods rtf in SAS 9.2. There is a warning below,
"WARNING: Invalid device 'GRLINK' for RTF destination. Using default device 'SASEMF'." but it's not in previous SAS version. How can I avoid the warning in SAS 9.2 Thanks very much

Huadli
SAS Super FREQ
Posts: 8,720

Re: rtf warning in sas 9.2

Hi:
In the past, if you used an inappropriate device with ODS, the device value was changed "behind the scenes". However, in 9.2, a warning is issued.

So if you have DEVICE=GRLINK in your code and your desired destination is ODS RTF, then the Warning message is correct -- I am not aware of a GRLINK device that can be used for RTF graph generation.

To avoid the warning, check your code and select a valid device value for ODS RTF:
http://support.sas.com/kb/35/957.html
http://support.sas.com/kb/24/038.html
http://support.sas.com/kb/32/474.html
http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#a003257291.htm


cynthia
Contributor
Posts: 43

rtf warning in sas 9.2

I finally upgraded to 9.2, and now I am getting similar messages.  I understand that in 9.1, SAS was just not displaying the warning.  However, I have not specified an invalid device, so the lack of a device must have happened during installation (I am running on Windows XP)?  I checked all of the links in your reply above, and none of them seemed to address the reason why I do not have a valid device defined. 

What is the proper way to either install SAS 9.2 or how do I set my devices/sysprint so that SAS uses those settings every time?  One of my concerns is that we have one IT person who installs SAS for every user, so this must be happening for other people as well.

SAS Super FREQ
Posts: 8,720

Re: rtf warning in sas 9.2

Hi:

  It looks from the doc

http://support.sas.com/documentation/cdl/en/connref/61908/HTML/default/viewer.htm#remgr.htm

that GRLINK is a driver used with SAS/CONNECT. You really might want to work with Tech Support on this issue, as they can advise you the best way to alter SAS/CONNECT defaults for your process and stop the warning messages. I assume you have tried an explicit DEVICE= in your code and it's not working??? (another reason to work with Tech Support)

ods rtf file='xxx.rtf' device=sasemf;

...code...

ods rtf close;

cynthia

Ask a Question
Discussion stats
  • 3 replies
  • 3272 views
  • 0 likes
  • 3 in conversation