Problem Note 47223: Load_STG2DM_Geo_prod generates the error: "BY variables are not properly sorted on data set WORK.LAST_GPS"
The SAS® Revenue Optimization Suite Load_STG2DM_Geo_prod job might generate the following error in the Load_STG2DM_Geo_prod.log.Load_STG2DM_Geo_prod..etl_exec_job.n.log file:
ERROR: BY variables are not properly sorted on data set WORK.LAST_GPS.
This error occurs when you run the Load_STG2DM_Geo_prod job after you have run %di_maintain_job to purge data from the GEO_PROD_STATUS table.
To work around this issue perform the following steps:
- Restore all partition level (di_dm/1/partition_id) level geo_prod and geo_prod_status tables to a backup from before you attempted to run the Load_STG2DM_Geo_prod job.
- Repair the geo_prod_status table using the %di_etl_repair_data utility documented in Chapter 9 of the SAS® Revenue Optimization Administrator's Guide.
- Run Load_STG2DM_Geo_prod again with same STG file that was used in the failed run.
- Run all steps for the weekly batch jobs that normally follow the Load_STG2DM_Geo_prod job.
To prevent this error from occurring in the future, run %di_etl_repair_data(table_name=geo_prod_status, dm=0, partition=0); after your regularly scheduled purge job.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Markdown Optimization | Linux for x64 | 5.2 | 5.2_M1 | 9.3 TS1M2 | 9.3 TS1M2 |
SAS System | SAS Regular Price Optimization | Linux for x64 | 5.2 | 5.2_M1 | 9.3 TS1M2 | 9.3 TS1M2 |
SAS System | SAS Promotion Optimization | Linux for x64 | 5.2 | 5.2_M1 | 9.3 TS1M2 | 9.3 TS1M2 |
SAS System | SAS Retail Forecasting | Linux for x64 | 5.2 | 5.2_M1 | 9.3 TS1M2 | 9.3 TS1M2 |
*
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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2012-08-24 12:54:53 |
Date Created: | 2012-08-14 09:01:11 |