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

I am using the summary statistics wizard and graphing function for the first time and getting this error:  ERROR 180-322: Statement is not valid or it is used out of proper order.  How do I fix this, is it a setting?

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

Okay, that helps.  EG is generating a GOPTIONS statement but you don't have SAS/GRAPH, so it complains with an error.

You can fix that in Tools->Options, Results:Graph.  See full answer with screenshot here:

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

View solution in original post

5 REPLIES 5
ChrisHemedinger
Community Manager

Can you paste in the entire SAS log (or at least more of the lines around this error)?  Then we can probably diagnose the issue.

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
Jordana
Calcite | Level 5

Hi Chris,

Sorry about the code format, it looks awful.  I will try to improve it and resend.  My apologies.

Jordana
Calcite | Level 5

Hi Chris, I attached a file with the code. Thanks much, Jordana

ChrisHemedinger
Community Manager

Okay, that helps.  EG is generating a GOPTIONS statement but you don't have SAS/GRAPH, so it complains with an error.

You can fix that in Tools->Options, Results:Graph.  See full answer with screenshot here:

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
Jordana
Calcite | Level 5

Thanks Chris!

I am going to try to get SAS Graph now too Smiley Happy

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 2079 views
  • 0 likes
  • 2 in conversation