table-name." " />
SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 65152: The error message "BY variables are not properly sorted on data set…" appears after a DATA step is run with a BY statement against a partitioned table

DetailsHotfixAboutRate It

The following error message occurs in the SAS® Cloud Analytic Services (CAS) log after you run a DATA step against a partitioned table:

ERROR: BY variables are not properly sorted on data set table-name.

A workaround is to add the NOTSORTED option to the BY statement, as shown in this example:

data casuser.table1;
   set casuser.table2;
   by x notsorted;
run; 

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS ViyaLinux for x643.43.5Viya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.