SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 47223: Load_STG2DM_Geo_prod generates the error: "BY variables are not properly sorted on data set WORK.LAST_GPS"

DetailsHotfixAboutRate It

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:

  1. 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.
  2. 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.
  3. Run Load_STG2DM_Geo_prod again with same STG file that was used in the failed run.
  4. 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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Markdown OptimizationLinux for x645.25.2_M19.3 TS1M29.3 TS1M2
SAS SystemSAS Regular Price OptimizationLinux for x645.25.2_M19.3 TS1M29.3 TS1M2
SAS SystemSAS Promotion OptimizationLinux for x645.25.2_M19.3 TS1M29.3 TS1M2
SAS SystemSAS Retail ForecastingLinux for x645.25.2_M19.3 TS1M29.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.