Problem Note 60191: When running in a non-English language, SAS® Enterprise Guide® might specify dates in the wrong format for a Between filter
If you are using SAS Enterprise Guide in a non-English language, the generated code for a Between filter might use the wrong format for the start and end dates. The issue occurs in only the 32-bit version of SAS Enterprise Guide. Here is an example of 32-bit SAS Enterprise Guide running in Italian.
In the following display, the value 31/12/2015 is entered for Val. iniziale. However, this date is not specified correctly in the filter shown beneath the two fields.
This is how the generated PROC SQL appears.
PROC SQL;
CREATE TABLE WORK.QUERY_FOR_DATA AS
SELECT t1.DATA
FROM WORK.DATA t1
WHERE t1.DATA BETWEEN 31/12/2015 AND '1Jan2016'd;
QUIT;
As a workaround, you can use the 64-bit version of SAS Enterprise Guide, or you can enter dates using the English format. In the following example, the date 31Dec2015 is entered as 12/31/2015 instead of as 31/12/2015 and the code is correct.
Operating System and Release Information
SAS System | SAS Enterprise Guide | Microsoft Windows Server 2012 R2 Datacenter | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Datacenter | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2008 for x64 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2008 R2 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2008 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise 32-bit | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Pro x64 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Pro 32-bit | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise x64 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise 32-bit | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Ultimate x64 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Ultimate 32 bit | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Professional x64 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Professional 32 bit | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Home Premium x64 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Home Premium 32 bit | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Enterprise x64 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Enterprise 32 bit | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Std | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Std | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 10 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro x64 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro 32-bit | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise x64 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft® Windows® for x64 | 7.13 | | 9.4 TS1M4 | 9.4 TS1M4 |
*
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.
If you are using SAS Enterprise Guide in a non-English language, the start and end dates for a Between filter might be incorrectly specified in the generated code.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2017-04-04 10:19:40 |
Date Created: | 2017-03-28 11:04:18 |