Search found 353 matches

by chandra.shekhar@tcs.com
Wed Mar 27, 2013 11:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implicit versus Explicit Conversions
Replies: 13
Views: 7621

I guess the matter is solved so marking the topic as resolved. :)
by chandra.shekhar@tcs.com
Tue Mar 26, 2013 12:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implicit versus Explicit Conversions
Replies: 13
Views: 7621

Glad that I started this :P @BI-RMA I was specifically talking about date conversion. For String To Decimal, Decimal To Integer etc implicit conversions may be OK. When I said that explicit conversion is better then I meant what Priyadarshi is trying to say. Just optimum performance or letting datas...
by chandra.shekhar@tcs.com
Mon Mar 25, 2013 6:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implicit versus Explicit Conversions
Replies: 13
Views: 7621

What if any junk value or spaces or Null value comes from the file ? There's a possibility since the source is a Sequential File. Last week I have raised a topic regarding the same. Kindly check Craig's comment. http://www.dsxchange.com/viewtopic.php?t=149264&highlight= . Thats why I think its b...
by chandra.shekhar@tcs.com
Mon Mar 25, 2013 1:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: two type conversions in one derivation
Replies: 9
Views: 4483

A column cannot have two different datatypes. Either its a DATE or TIMESTAMP.
by chandra.shekhar@tcs.com
Thu Mar 21, 2013 12:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unusual date conversion
Replies: 9
Views: 3649

@Bob,
We have two clients 8.1 and 8.7, and I have checked it in both.
by chandra.shekhar@tcs.com
Wed Mar 20, 2013 8:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unusual date conversion
Replies: 9
Views: 3649

I am now handling spaces in my job and explicitly converting into dates.
Datastage is really a mysterious tool :?
by chandra.shekhar@tcs.com
Wed Mar 20, 2013 3:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unusual date conversion
Replies: 9
Views: 3649

That's what Ray, I am doing nothing extra.
Just directly mapping a String Field(which contains date) to a Date Column.
Ideally I should use a StringToDate function but since my dates(from source) are in default YYYY-MM-DD format so I didn't use any conversion.
by chandra.shekhar@tcs.com
Wed Mar 20, 2013 1:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unusual date conversion
Replies: 9
Views: 3649

The extended column metadata doesn't have anything enabled..
by chandra.shekhar@tcs.com
Wed Mar 20, 2013 1:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unusual date conversion
Replies: 9
Views: 3649

Unusual date conversion

Hi, My source is a File and contains a varchar field which actually stores date in the basic format YYYY-MM-DD. In the transformer I didn't use any conversion methods for date conversion since the date is in default datastage format. Well this worked perfectly until I validated the data. For spaces,...
by chandra.shekhar@tcs.com
Tue Mar 19, 2013 7:27 am
Forum: General
Topic: Updating a Sequential File
Replies: 5
Views: 1071

I am too doing the same, but I thought better to ask than regret later. :wink:
by chandra.shekhar@tcs.com
Tue Mar 19, 2013 4:02 am
Forum: General
Topic: Updating a Sequential File
Replies: 5
Views: 1071

Updating a Sequential File

Hi,

Is there any way/logic to update records in a Sequential File ?
by chandra.shekhar@tcs.com
Thu Mar 14, 2013 7:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update then insert not working in 8.7
Replies: 9
Views: 3686

@akarsh
Did you try any of my options ?
by chandra.shekhar@tcs.com
Mon Mar 11, 2013 12:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update then insert not working in 8.7
Replies: 9
Views: 3686

@akarsh We have also experienced the same issue while updating data on our DB2 tables. Try one of these solution :- 1) Use Oracle Connector Partitioning instead of Hash Partitioning in the target. OR 2) Reduce the "Array Size" to 1, keeping Record Count to higher value e.g 2000. OR 3) Run ...
by chandra.shekhar@tcs.com
Mon Mar 04, 2013 11:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing Leading Space and Trailing Dot from Numeric Fields
Replies: 15
Views: 16570

@Jayanto,
Use simple TRIM function and store the output as Integer.
by chandra.shekhar@tcs.com
Wed Feb 27, 2013 12:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple SQL in "Load SQL from file at run time"
Replies: 7
Views: 2881

Jack,
If you use multiple queries then it will throw an error for invalid character ";".
What sort of sqls you are using, why dont you use Before/After SQL or try union as suggested by Craig.
I had the same problem so I used Before SQL.