![]() | ![]() | ![]() | ![]() | ![]() |
When optimization is done for a user-defined format so that it can be processed by the database management system (DBMS), incorrect code might be passed to the DBMS. Incorrect results might occur when the following is true about the query:
When SAS® tries to optimize the performance of the query by passing the format to the database, it uses a BEST12. format to format the value in the format rather than the actual value. Consequently, a number like 1234567890123 is passed as 1234567900000.
To work around this issue, turn off optimization of the PUT function by setting the system option SQLREDUCEPUT=NONE.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | z/OS | 9.1 TS1M3 | 9.4 TS1M4 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | |||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 | |||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 | |||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | |||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | |||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | |||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | |||
Microsoft Windows XP Professional | 9.1 TS1M3 | |||
Windows Vista | 9.1 TS1M3 | |||
Windows Vista for x64 | 9.1 TS1M3 | |||
64-bit Enabled AIX | 9.1 TS1M3 | 9.4 TS1M4 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 | 9.4 TS1M4 | ||
64-bit Enabled Solaris | 9.1 TS1M3 | 9.4 TS1M4 | ||
HP-UX IPF | 9.1 TS1M3 | 9.4 TS1M4 | ||
Linux | 9.1 TS1M3 | 9.4 TS1M4 | ||
OpenVMS Alpha | 9.1 TS1M3 | 9.4 TS1M4 | ||
Tru64 UNIX | 9.1 TS1M3 | 9.4 TS1M4 |