BookmarkSubscribeRSS Feed
Rucstat_huadli
Fluorite | Level 6
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
3 REPLIES 3
Cynthia_sas
Diamond | Level 26
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
cwilson
Calcite | Level 5

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.

Cynthia_sas
Diamond | Level 26

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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 3 replies
  • 7172 views
  • 0 likes
  • 3 in conversation