SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 66379: The CALL IS8601_CONVERT routine can produce incorrect results when the interval value is listed in weeks

DetailsHotfixAboutRate It

The CALL IS8601_CONVERT routine can produce incorrect results when you specify an interval in weeks. The call routine returns an incorrect value without any warnings or errors written to the log.

The following partial code illustrates the syntax that can cause the problem. Specifying the value of XXDUR in weeks causes the call routine to produce incorrect results.

xxdur = "-P2W";
call is8601_convert('dt/du', 'end', xxrftdtc, xxdur, _dtc_int);

To work around this problem, you can specify the duration in days, as shown in this example:

xxdur = "-P14D";
call is8601_convert('dt/du', 'end', xxrftdtc, xxdur, _dtc_int);

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 SystemBase SASz/OS9.4_M69.4_M79.4 TS1M69.4 TS1M7
z/OS 64-bit9.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft® Windows® for x649.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows 8 Enterprise 32-bit9.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows 8 Enterprise x649.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows 8 Pro 32-bit9.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows 8 Pro x649.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Enterprise 32-bit9.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Enterprise x649.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Pro 32-bit9.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Pro x649.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows 109.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 Datacenter9.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 R2 Datacenter9.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 R2 Std9.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 Std9.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows Server 20169.4_M69.4_M79.4 TS1M69.4 TS1M7
Microsoft Windows Server 20199.4_M69.4_M79.4 TS1M69.4 TS1M7
Windows 7 Enterprise 32 bit9.4_M69.4_M79.4 TS1M69.4 TS1M7
Windows 7 Enterprise x649.4_M69.4_M79.4 TS1M69.4 TS1M7
Windows 7 Home Premium 32 bit9.4_M69.4_M79.4 TS1M69.4 TS1M7
Windows 7 Home Premium x649.4_M69.4_M79.4 TS1M69.4 TS1M7
Windows 7 Professional 32 bit9.4_M69.4_M79.4 TS1M69.4 TS1M7
Windows 7 Professional x649.4_M69.4_M79.4 TS1M69.4 TS1M7
Windows 7 Ultimate 32 bit9.4_M69.4_M79.4 TS1M69.4 TS1M7
Windows 7 Ultimate x649.4_M69.4_M79.4 TS1M69.4 TS1M7
64-bit Enabled AIX9.4_M69.4_M79.4 TS1M69.4 TS1M7
64-bit Enabled Solaris9.4_M69.4_M79.4 TS1M69.4 TS1M7
HP-UX IPF9.4_M69.4_M79.4 TS1M69.4 TS1M7
Linux for x649.4_M69.4_M79.4 TS1M69.4 TS1M7
Solaris for x649.4_M69.4_M79.4 TS1M69.4 TS1M7
* 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.