Problem Note 5027: Unable to query an INFORMIX table containing a DATETIME precision
datatype
Beginning in Version 7 of the SAS/ACCESS Interface to Informix, you can
no longer query an Informix table containing a column defined with
DATETIME precision. You will receive the following error message:
ERROR: SAS/ACCESS does not support Informix DATATEIME (precision) to
(precision). Delete the column or extend it to YEAR to DAY if you
want to read and display the column within SAS.
A circumvention is to use the EXTEND function in the SQL Passthrough
procedure to convert the precision of the DATETIME field. For example,
proc sql;
connect to informix(database=dbprod);
select * from connection to informix
(select name, age, extend(hiremonth, year to month) as hiredate
from informixtab);
quit;
The DATETIME column was automatically extended in Version 6.12 and no
error message was given.
A Technical Support hot fix for Release 8.2 TSLEVEL TS2M0 for this
issue is available at:
http://www.sas.com/techsup/download/hotfix/82_sbcs_prod_list.html#005027
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | SAS/ACCESS Interface to Informix | Solaris | 8 TS M0 | 8.2 TS2M0 |
| 64-bit Enabled Solaris | 8 TS M0 | 8.2 TS2M0 |
| ABI+ for Intel Architecture | 8 TS M0 | 8.2 TS2M0 |
| IRIX | 8 TS M0 | 8.2 TS2M0 |
| 64-bit Enabled AIX | 8 TS M0 | 8.2 TS2M0 |
| 64-bit Enabled HP-UX | 8 TS M0 | 8.2 TS2M0 |
| HP-UX | 8 TS M0 | 8.2 TS2M0 |
| Tru64 UNIX | 8 TS M0 | 8.2 TS2M0 |
| AIX | 8 TS M0 | 8.2 TS2M0 |
*
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.
| Type: | Problem Note |
| Priority: | high |
| Topic: | SAS Reference ==> LIBNAME Engines Data Management ==> Data Sources ==> External Databases ==> Informix
|
| Date Modified: | 2002-04-22 16:11:40 |
| Date Created: | 2001-05-21 13:04:06 |