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
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
SAS System | SAS Viya | Linux for x64 | 3.4 | 3.5 | | Viya |
*
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.
The following error message occurs after you run a DATA step against a partitioned table: "ERROR: BY variables are not properly sorted on data set
table-name."
Type: | Problem Note |
Priority: | high |
Date Modified: | 2019-11-25 16:40:00 |
Date Created: | 2019-11-20 16:28:59 |