Hi Ray,
I guess, when we are reading decimal values from teradata, the 0s are truncated
ex 1.5 instead of 1.50
Is there any way we can preserve the 0s.
Search found 50 matches
- Mon Mar 20, 2006 11:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DECIMAL TO DECIMAL CONVERSION REDUCTION IN SIZE
- Replies: 3
- Views: 2937
- Mon Mar 20, 2006 9:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal Column in XML file
- Replies: 0
- Views: 1135
Decimal Column in XML file
When loading a decimal column values to a sequential file, the results are as expected 000001.50 000002.50 etc and when the same source data is loaded into an XML file , the 0s are trimed 1.5 2.5 Is there a env variable we can use to avoid this happening, like in oracle we can use preserve_blanks. D...
- Mon Mar 20, 2006 9:33 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal Column in XML file
- Replies: 0
- Views: 1022
Decimal Column in XML file
When loading a decimal column values to a sequential file, the results are as expected 000001.50 000002.50 etc and when the same source data is loaded into an XML file , the 0s are trimed 1.5 2.5 Is there a env variable we can use to avoid this happening, like in oracle we can use preserve_blanks. D...
- Fri Mar 17, 2006 10:23 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Reading From an XML File
- Replies: 11
- Views: 6624
- Fri Mar 17, 2006 9:44 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Reading From an XML File
- Replies: 11
- Views: 6624
- Thu Mar 16, 2006 5:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Tera Data APT_TeraSync Error
- Replies: 11
- Views: 9419
- Wed Mar 15, 2006 12:22 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Teradata Open/Close Command Issue
- Replies: 0
- Views: 1076
Teradata Open/Close Command Issue
Hi, If I have a simple command in the open or close command in the TDE stage , the job aborts with :Parallel job reports failure (code 139): Insert into table1 (abc) values ('drf') The main query has different table, select name1 from customer I tried to use the insert command in the ODBC EE stage a...
- Wed Mar 15, 2006 10:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Tera Data APT_TeraSync Error
- Replies: 11
- Views: 9419
Hi Guys, We are on 7.5.1.A and I have run into the same issue and when I try to set the env variables below , I can not find them in our project ! Do we have to folow specific steps to add them to the project? APT_TERA_SYNC_DAEMON_PROG = [server name for terasync table] APT_TERA_SYNC_DATABASE = [db ...
- Tue Mar 14, 2006 3:09 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Errors exporting metadata with Reporting Assistant
- Replies: 10
- Views: 5927
- Tue Mar 14, 2006 2:58 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Errors exporting metadata with Reporting Assistant
- Replies: 10
- Views: 5927
- Tue Mar 14, 2006 2:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Errors exporting metadata with Reporting Assistant
- Replies: 10
- Views: 5927
- Tue Mar 14, 2006 10:56 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Substr of Decimal
- Replies: 7
- Views: 3691
- Tue Mar 14, 2006 10:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Substr of Decimal
- Replies: 7
- Views: 3691
Hi Ray, I have used ME_TGT:int64=int64_from_decimal [trunc_zero] (ME_LOW) ME_TGT:integer=int32_from_decimal [trunc_zero] (ME_LOW) ME_TGT=int64_from_decimal [trunc_zero] (ME_LOW) My source column is Real (40.8) and my target column is integer(ME_TGT). The job aborts saying operator conversion not pos...
- Mon Mar 13, 2006 5:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Substr of Decimal
- Replies: 7
- Views: 3691
- Mon Mar 13, 2006 3:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Substr of Decimal
- Replies: 7
- Views: 3691
Substr of Decimal
Hi,
If I have the source as 11.34 I need only the numbers before the decimal, i.e. 11 .
Is there a stage I can use in EE instead of conventionally using the transformer?
Thanks,
If I have the source as 11.34 I need only the numbers before the decimal, i.e. 11 .
Is there a stage I can use in EE instead of conventionally using the transformer?
Thanks,