SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 65776: The adjustDate function in the SAS® Risk Governance Framework gives inconsistent results

DetailsHotfixAboutRate It

When you use the adjustDate function in a screen definition file in the SAS Risk Governance Framework, you might see inconsistent results when you attempt to increment the date.

For example, assume that your date format is dd/mm/yyyy, and you have defined the following date fields in your screen definition file:

<field name="TEMP.startDt" type="date" >
   <label>Start Date</label>
   <on-change>
       <set-value name="TEMP.targetEndDt" value="adjustDate(TEMP.startDt, 'month', 1)"/>
   </on-change>
</field>
<field name="TEMP.targetEndDt" type="date" >
   <label>Target End Date</label>
</field>

If the value of the Start Date field is 02/03/2020, the adjustDate function should set the value of the Target End Date field to 02/04/2020. Instead, the function might incorrectly set the Target End Date field to 01/04/2020.

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 Risk Governance FrameworkMicrosoft® Windows® for x647.49.4 TS1M5
Microsoft Windows 8 Enterprise 32-bit7.49.4 TS1M5
Microsoft Windows 8 Enterprise x647.49.4 TS1M5
Microsoft Windows 8 Pro 32-bit7.49.4 TS1M5
Microsoft Windows 8 Pro x647.49.4 TS1M5
Microsoft Windows 8.1 Enterprise 32-bit7.49.4 TS1M5
Microsoft Windows 8.1 Enterprise x647.49.4 TS1M5
Microsoft Windows 8.1 Pro 32-bit7.49.4 TS1M5
Microsoft Windows 8.1 Pro x647.49.4 TS1M5
Microsoft Windows 107.49.4 TS1M5
Microsoft Windows Server 20087.49.4 TS1M5
Microsoft Windows Server 2008 R27.49.4 TS1M5
Microsoft Windows Server 2008 for x647.49.4 TS1M5
Microsoft Windows Server 2012 Datacenter7.49.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter7.49.4 TS1M5
Microsoft Windows Server 2012 R2 Std7.49.4 TS1M5
Microsoft Windows Server 2012 Std7.49.4 TS1M5
Microsoft Windows Server 20167.49.4 TS1M5
Windows 7 Enterprise 32 bit7.49.4 TS1M5
Windows 7 Enterprise x647.49.4 TS1M5
Windows 7 Home Premium 32 bit7.49.4 TS1M5
Windows 7 Home Premium x647.49.4 TS1M5
Windows 7 Professional 32 bit7.49.4 TS1M5
Windows 7 Professional x647.49.4 TS1M5
Windows 7 Ultimate 32 bit7.49.4 TS1M5
Windows 7 Ultimate x647.49.4 TS1M5
Linux for x647.49.4 TS1M5
* 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.