Search found 5168 matches

by kumar_s
Tue Feb 27, 2007 12:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Covert comma separated decimal field to DataStage decimal
Replies: 5
Views: 7107

Its how the data is read from source. If its extracted as character, it has to be converted into Decimal and as the process the comma need to be excluded.
Defaults tab in Job Property will also help in specifying a different Decimal separator other than .(period).
by kumar_s
Tue Feb 27, 2007 12:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Difference
Replies: 2
Views: 898

There are lot of ways to get it done. If you make a search you will find a lot of idea.
One simple option is to convert the dates into Julian dates and subtract. The idea is to convert the date into internal or integer format.
JulianDayFromDay() can be used for that.
by kumar_s
Tue Feb 27, 2007 12:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with reject link
Replies: 3
Views: 925

You mean 'Modify' Stage? Its possible.
As noted Copy stage is more lighter that Modify stage.
by kumar_s
Mon Feb 26, 2007 5:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: literal spaces treated as a key
Replies: 10
Views: 3811

Btw, space is not NULL. Where do you find the space character is getting changed as Null? Is the field a Varchar datatype?
by kumar_s
Mon Feb 26, 2007 5:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Replace existing rows
Replies: 32
Views: 9013

I should better learn to phrase sentences clearly.
by kumar_s
Mon Feb 26, 2007 5:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find EOF using DataStage
Replies: 9
Views: 5525

You are appending a flag to a file. Like
Cat 'Flag' >> File.
You can use tail command to read the last line in CommandActivity and use the CommandOutput to pass the value as parameter to the job.
by kumar_s
Mon Feb 26, 2007 5:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Replace existing rows
Replies: 32
Views: 9013

If you think its resolves your issue, you can mark the topic as resolved.
by kumar_s
Mon Feb 26, 2007 5:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Replace existing rows
Replies: 32
Views: 9013

I don't get you full business logic on why is it all been done.
Just be aware that, if your input have more that 1 row with the same key value say 1001, you will end up in inserting only the latest one. Where I guess you need to insert both of them.
by kumar_s
Mon Feb 26, 2007 5:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Replace existing rows
Replies: 32
Views: 9013

Have you tried the option "Replace Existing Row completely" with single filed marked as Key in Datastage.
Observer the SQL generated, a DELETE statement will be issued first with the condition, Where Col1 = :1 (Single field).
Later Insert statement.
by kumar_s
Mon Feb 26, 2007 5:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading a file from Mainframe server
Replies: 7
Views: 3449

Even Server jobs has CFF stage as plugin. :roll:
by kumar_s
Mon Feb 26, 2007 5:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is a Sparse Lookup in DataStage EE?
Replies: 15
Views: 35201

As recommended in document, go for sparse in 1:100 ratio. That is if you have input records 100 times less that the lookup data. In other way, very large data to be loaded into physical memory where as fewer times of hits are required to the lookup table.
by kumar_s
Mon Feb 26, 2007 5:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Replace existing rows
Replies: 32
Views: 9013

What you expect the output should be for this case? If there is any record with 1001, it should be replaced with these two records? And by the way, the database keys has not been changed, only are just marking the key in datastage as one key. But to be more comfortable, you can do a lookup to the ta...
by kumar_s
Mon Feb 26, 2007 4:58 pm
Forum: General
Topic: Controller problem: Error calling DSRunJob(JobCreateBatch)
Replies: 1
Views: 926

Hi and welcome Aboard :D !!!!

Have you searched for "Code=99". There a quite a few hist for this.
Like this
by kumar_s
Mon Feb 26, 2007 4:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Replace existing rows
Replies: 32
Views: 9013

You need to replace based on single column, am I right?
Mark that single column alone as key in Datastage.
by kumar_s
Mon Feb 26, 2007 4:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with Change Capture Stage
Replies: 9
Views: 2215

Probably the other way, Varchar to Char. :)