Hi,
You describe a known bug. If you use a function in a user defined sql, decimal are seen as (38,10), and string fields are also with a length fixed by Datastage (I can't remember the length).
Just type your decimal as (38,10) and change when possible.
Matthieu
Search found 32 matches
- Tue Mar 27, 2007 9:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Datatype warnings from oracle!
- Replies: 13
- Views: 6147
- Tue Feb 06, 2007 10:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: PX warning in Oracle Enterprise stage
- Replies: 14
- Views: 8327
- Mon Jan 15, 2007 7:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: dos2unix - problem while converting
- Replies: 13
- Views: 23372
Re: dos2unix - problem while converting
Hi durgaps , As you were thinking about a permission problem, I asked the way you were running DS, because depending on this, the profile loaded can change. When you run DS in command line with your profile (witch is not dsadm), jobs are running with the dsadm environment variables. So you may need ...
- Sat Jan 06, 2007 1:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: dos2unix - problem while converting
- Replies: 13
- Views: 23372
- Thu Dec 28, 2006 5:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: string to Decimal conversion
- Replies: 2
- Views: 2184
Re: string to Decimal conversion
Hi alone,
The first character is reserved for the sign... For example -0490.0.
This is not a problem with ODBC connection nether OCI plug in. If you store this decimal in a sequential file, use a CHAR/VARCHAR type.
Matthieu.
The first character is reserved for the sign... For example -0490.0.
This is not a problem with ODBC connection nether OCI plug in. If you store this decimal in a sequential file, use a CHAR/VARCHAR type.
Matthieu.
- Tue Jun 20, 2006 9:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: grouping
- Replies: 11
- Views: 4734
- Tue Jun 20, 2006 7:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: grouping
- Replies: 11
- Views: 4734
- Tue Jun 20, 2006 3:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: grouping
- Replies: 11
- Views: 4734
- Wed May 24, 2006 6:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: LOOP IN A MF INVIROMENT
- Replies: 8
- Views: 3681
Re: LOOP IN A MF INVIROMENT
Ok,
So, just create a flat file with 40 lines containing "1"...
Matthieu
So, just create a flat file with 40 lines containing "1"...
Matthieu
- Wed May 24, 2006 4:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: LOOP IN A MF INVIROMENT
- Replies: 8
- Views: 3681
Re: LOOP IN A MF INVIROMENT
Hi, What is the MF edition ? What a strange idea !!! You can use a row generator to create 40 lines with one column (called "JOIN" for example) filled with a fixed value (for example "1"). Then you create a column (also called "JOIN") in your "stream" flow wit...
- Wed Mar 22, 2006 9:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to skip first 4 records
- Replies: 15
- Views: 16108
- Thu Feb 09, 2006 1:59 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Look up multiple columns
- Replies: 10
- Views: 7809
- Wed Feb 08, 2006 4:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Look up multiple columns
- Replies: 10
- Views: 7809
- Thu Sep 22, 2005 6:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Suppression Of left zeroes
- Replies: 10
- Views: 6887
- Thu Sep 22, 2005 1:48 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Suppression Of left zeroes
- Replies: 10
- Views: 6887
Thanks all, ucf007 : the number of left zeroes is variable. It would be too simple with a fixed number ! pnchowdary : FMT is a server fonction and the basic transformer is not available in version 6. ashwin2912 : I thought of this solution, but I don't like it much. If I don't find another one I'll ...