Problem Note 1247: DECIMAL floating point columns incorrect with SAS/ACCESS to Informix
When using SAS/ACCESS to Informix to query an Informix DECIMAL
floating point column, the display of the decimal portion of the number
from within SAS may be incorrect. A DECIMAL floating point number in
Informix is a DECIMAL column that is declared without the scale
component. The following 2 "create table" examples will create a
DECIMAL floating point column:
create table example1 (c1 decimal(16))
create table example2 (c2 decimal)
When these columns are extracted into the SAS System, the correct
numeric value is being pulled into SAS, the failure only happens on the
display of the number. To circumvent the problem, an explicit format
needs to be applied to the column. For example:
data _null_;
format c1 best; /* explicit format applied */
put c1=;
run;
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | SAS/ACCESS Interface to Informix | HP-UX | 8 TS M0 | 8.1 TS1M0 |
| 64-bit Enabled Solaris | 8 TS M0 | 8.1 TS1M0 |
| Tru64 UNIX | 8 TS M0 | 8.1 TS1M0 |
| 64-bit Enabled HP-UX | 8 TS M0 | 8.1 TS1M0 |
| 64-bit Enabled AIX | 8 TS M0 | 8.1 TS1M0 |
| Solaris | 8 TS M0 | 8.1 TS1M0 |
| AIX | 8 TS M0 | 8.1 TS1M0 |
*
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 ==> Procedures ==> ACCESS
|
| Date Modified: | 1999-10-18 00:00:00 |
| Date Created: | 1999-10-18 00:00:00 |