In SAS Intelligent Decisioning, you can assign an initial value for a date variable for the rule set and decisions. After you export the rule set and the decision, you might observe that the initial value of the date variable in the CSV or JSON file is one day earlier than the actual assigned Value in the UI. This problem occurs only with the date variable; it does not occur with the the datetime variable.
You do not receive any error, warning, or note messages to indicate that a problem occurred.
When the problem occurs, the incorrect date is shown in the exported CSV file, as shown in this example:
name,dataGridName,dataType,direction,length,description,defaultValue
date_17nov20,,date,inOut,,"desc Nov 17, 2020","Nov 16, 2020"
datetime_17nov20,,datetime,inOut,,"desc Nov 17, 2020","Nov 17, 2020 10:25 AM"
The incorrect date is also shown in the exported JSON file, as shown in this example:
[
{
"name": "date_17nov20",
"dataType": "date",
"description": "desc Nov 17, 2020",
"direction": "inOut",
"defaultValue": "Nov 16, 2020"
},
{ "name": "datetime_17nov20", "dataType": "datetime", "description": "desc Nov 17, 2020", "direction": "inOut", "defaultValue": "Nov 17, 2020 10:25 AM" }
]
You can correct the problem either by editing the exported file after the export process or by editing the Edit Variables dialog box after the import process.
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 Intelligent Decisioning | Linux for x64 | 5.5 | 5.5 | Viya | 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.