SAS Procedures

Help using Base SAS procedures
BookmarkSubscribeRSS Feed
Prasadr1618
Calcite | Level 5

How to solve the Error:you can only break on grouping and ordering variables?

Even though my break variable is defined as order with display,i do get this error.

please help me on this.

5 REPLIES 5
Jagadishkatam
Amethyst | Level 16

Hope it is something like

 

define x / order display;

 

could you please remove the display and try.

Thanks,
Jag
Prasadr1618
Calcite | Level 5

But i have to display the variable im my sas output file.

Jagadishkatam
Amethyst | Level 16
It will be still be displayed
Thanks,
Jag
himself
Pyrite | Level 9
The variable listed on the BREAK statement is not defined as GROUP or
ORDER.


Solution:
Remove the BREAK statement or change the usage on the DEFINE
statement of that variable to GROUP or ORDER.
himself
Pyrite | Level 9

The variable listed on the BREAK statement is not defined as GROUP or
ORDER.


Solution:
Remove the BREAK statement or change the usage on the DEFINE
statement of that variable to GROUP or ORDER.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 3931 views
  • 0 likes
  • 3 in conversation