Data visualization with SAS programming

re: Error message Devicewas noty Specified

Accepted Solution Solved
Reply
Regular Contributor
Posts: 221
Accepted Solution

re: Error message Devicewas noty Specified

Hi...I am trying to create a graph using proc gchart and get an error message that the device was not specified. I have included the statement in the code (using SAS 9.2)

goptions reset=all device=ACTXIMG rotate=landscape;

Any suggestions why I get the eror message? Thanks.


Accepted Solutions
Solution
‎09-20-2016 12:25 PM
SAS Super FREQ
Posts: 864

Re: re: Error message Devicewas noty Specified

You might accidently have the ODS LISTING destination on. The ACTXIMG device is not valid for that desitnation. Put this statement at the beginning of your program and see if this message goes away:

 

ods listing close;

 

Hope this helps!

Dan

View solution in original post


All Replies
Grand Advisor
Posts: 9,713

Re: re: Error message Devicewas noty Specified

You may need to share more of your code.

Did you specify an ODS destination?

 

 

Solution
‎09-20-2016 12:25 PM
SAS Super FREQ
Posts: 864

Re: re: Error message Devicewas noty Specified

You might accidently have the ODS LISTING destination on. The ACTXIMG device is not valid for that desitnation. Put this statement at the beginning of your program and see if this message goes away:

 

ods listing close;

 

Hope this helps!

Dan

Regular Contributor
Posts: 221

Re: re: Error message Devicewas noty Specified

Hi Dan...Yes you were right....the ods listing was on. It works now....Thanks

Post a Question
Discussion Stats
  • 3 replies
  • 175 views
  • 0 likes
  • 3 in conversation