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
SAS Super FREQ
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
SAS Super FREQ

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

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

New Learning Events in April

 

Join us for two new fee-based courses: Administrative Healthcare Data and SAS via Live Web Monday-Thursday, April 24-27 from 1:00 to 4:30 PM ET each day. And Administrative Healthcare Data and SAS: Hands-On Programming Workshop via Live Web on Friday, April 28 from 9:00 AM to 5:00 PM ET.

LEARN MORE

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