Search found 80 matches
- Thu Dec 09, 2010 8:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: need to convert string(DDMMYYYY) to Date field YYYY-MM-DD
- Replies: 6
- Views: 16258
- Thu Dec 09, 2010 5:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: need to convert string(DDMMYYYY) to Date field YYYY-MM-DD
- Replies: 6
- Views: 16258
Re: need to convert string(DDMMYYYY) to Date field YYYY-MM-D
Code: Select all
DateToString(StringToDate(DSLink1.D_DATE,"%dd%mm%yyyy"), "%yyyy-%mm-%dd")
- Mon Nov 22, 2010 7:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Timeout Expired
- Replies: 5
- Views: 2488
- Mon Nov 22, 2010 2:56 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Timeout Expired
- Replies: 5
- Views: 2488
- Mon Nov 22, 2010 1:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Timeout Expired
- Replies: 5
- Views: 2488
Timeout Expired
Hello All, I am loading data from sequential file to SQL Server database. The Design of the job is, SEQUENTIAL FILE->TRANSFORMER->ODBC The job aborted due to the following error. APT_CombinedOperatorController(1),0: [IBM(DataDirect OEM)][ODBC SQL Server Driver][libssclient23]Timeout Expired. The dat...
- Wed Nov 10, 2010 7:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Validating/Standardising TimeStamp
- Replies: 2
- Views: 1230
Not really. If those components can come in with one or two digits, you need to check each one and add the zeroes yourself. Of course, the easiest way to fix this is to get the producer of this data to standardize it for you so you don't have to futz with it. :wink: Yep, am trying to add zeros myse...
- Wed Nov 10, 2010 7:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Validating/Standardising TimeStamp
- Replies: 2
- Views: 1230
Validating/Standardising TimeStamp
Hello All, I have a date column, where in the format is '2010-01-17T0009:13:123' . I have to load it as timestamp and am able to do so, by using this suggested by Arndw, StringToTimestamp(DSLink316.DATE[1,10]:' ':DSLink316.DATE[12,12],"%yyyy-%mm-%dd %hh:%nn:%ss.3") The data need not have m...
- Wed Nov 10, 2010 1:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Float to Numeric conversion
- Replies: 9
- Views: 3763
The decimal number is not stored with the trailing zeroes, it is only displayed with them. You can not get rid of them in the View Data dialog. If you want to get rid of them into a text file, declar ... Sorry, am not a premium member yet. Still, the data is getting loaded with the zeros in the dat...
- Tue Nov 09, 2010 11:38 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Float to Numeric conversion
- Replies: 9
- Views: 3763
- Tue Nov 09, 2010 12:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Float to Numeric conversion
- Replies: 9
- Views: 3763
- Mon Nov 08, 2010 4:48 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Float to Numeric conversion
- Replies: 9
- Views: 3763
Check DecimalToDecimal() I tried DFLOAT to Decimal conversion.. It is loading the data, but it is loading it as 10 digits after decimal, where in the input data contains only 4 digits after the decimal point.. The target column is numeric.. and the scale is 10..Is that why it is loading 10 digits??...
- Thu Nov 04, 2010 8:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Varchar to Timestamp Conversion
- Replies: 6
- Views: 2272
- Thu Nov 04, 2010 8:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Float to Numeric conversion
- Replies: 9
- Views: 3763
Float to Numeric conversion
Hello ..
Sorry to post a data type conversion questionn again.. I am facing quite a lot of data type conversion offlate. .
Here it is..
The source has the following data,
3.1120 (Float of length 10). How do i convert it to Numeric datatype of length 15?
Thanks a ton !
![Smile :)](./images/smilies/icon_smile.gif)
Sorry to post a data type conversion questionn again.. I am facing quite a lot of data type conversion offlate. .
Here it is..
The source has the following data,
3.1120 (Float of length 10). How do i convert it to Numeric datatype of length 15?
Thanks a ton !
- Thu Nov 04, 2010 6:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Varchar to Timestamp Conversion
- Replies: 6
- Views: 2272
Varchar to Timestamp Conversion
Hello All,
Below is a varchar and i need to convert it to timestamp length 23, scale 3..
2009-01-15T00:08:13.109.
I used the below code and it doesnt work...
StringToTimestamp(DSLink316.DATE,"%yyyy-%mm-%dd %hh:%nn:%ss")
Any idea on the right code??
Thanks
Below is a varchar and i need to convert it to timestamp length 23, scale 3..
2009-01-15T00:08:13.109.
I used the below code and it doesnt work...
StringToTimestamp(DSLink316.DATE,"%yyyy-%mm-%dd %hh:%nn:%ss")
Any idea on the right code??
Thanks
- Tue Nov 02, 2010 10:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: XML Input stage
- Replies: 9
- Views: 6908