Search found 42189 matches
- Tue Nov 19, 2013 1:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sort is failing
- Replies: 3
- Views: 2137
A) Why add a Sort stage when the data is already sorted? B) What makes you think the sort is 'failing'? C) Are you using the Hashed table to remove duplicates and the 'wrong one' is going in last? D) Please don't expect any particular order when selecting from a hashed table any more than you would ...
- Tue Nov 19, 2013 12:39 pm
- Forum: General
- Topic: Extract of log file using DSGetLogEntry not working
- Replies: 31
- Views: 7284
- Tue Nov 19, 2013 12:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help with sequence number generation
- Replies: 15
- Views: 5534
Wasn't thinking of using an Identity column (since those would be unique per record which is not the goal here) but literally a sequence that gets incremented conditionally. And then yes, you'd need to transform it into a padded string before actually using it in the records. Still curious about con...
- Tue Nov 19, 2013 10:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help with sequence number generation
- Replies: 15
- Views: 5534
Clarify something for us - will this DataStage job be the only process manging the Sequence value? Or will other DataStage jobs and/or outside processes be involved with inserting records into this target? If you need to worry about concurrency, that will complicate your solution. And Franklin, you'...
- Tue Nov 19, 2013 8:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Timestamp Converstion
- Replies: 3
- Views: 1585
First thing to note is your desired format posted does not include microseconds - are you targeting a TIMESTAMP column in Oracle that will support them or are you actually writing to a DATE? Assuming the former, if you check the documentation you'll see your issue is the format string you are using ...
- Tue Nov 19, 2013 8:30 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue when Importing Metadata from oracle table..
- Replies: 11
- Views: 3247
- Tue Nov 19, 2013 8:26 am
- Forum: General
- Topic: Is there a lower case function in DataStage?
- Replies: 6
- Views: 3695
- Tue Nov 19, 2013 8:20 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to calculate second-highest data value
- Replies: 4
- Views: 1826
:idea: While you could include a screen shot using the [Img] tags after you've uploaded it to a file sharing site, as you can see there's no need. The forum software automatically removes 'extra' whitespace which is what was affecting your example. I wrapped it in [/b] tags which preserve whitespace...
- Mon Nov 18, 2013 5:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help with sequence number generation
- Replies: 15
- Views: 5534
- Mon Nov 18, 2013 5:06 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: pass by reference vs pass by value
- Replies: 4
- Views: 2616
- Mon Nov 18, 2013 3:53 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: pass by reference vs pass by value
- Replies: 4
- Views: 2616
Lots of references to it out in the wild, here's what a quick search turned up for Java but it should apply to DB2 as well for a LOB:
http://www.javacertificate.net/passbyvalue.htm
http://www.javacertificate.net/passbyvalue.htm
- Mon Nov 18, 2013 3:32 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help with sequence number generation
- Replies: 15
- Views: 5534
- Mon Nov 18, 2013 2:00 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: slow execution of simple job using Oracle connector
- Replies: 7
- Views: 2338
Have your DBA trace the session and see if the index is being used for the updates. If you don't use one of the fields in the composite index (unless it is on the 'trailing' edge) that would preclude index use but using all five of of them should fare much better. I'm assuming your issue is that the...
- Mon Nov 18, 2013 12:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: slow execution of simple job using Oracle connector
- Replies: 7
- Views: 2338
- Mon Nov 18, 2013 11:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help with sequence number generation
- Replies: 15
- Views: 5534
So... your 'Sequence' is actually a string field? That would be the only way to store those leading zeroes if they are significant. I would handle this in stage variables, tracking the current v. previous version of the key field and only incrementing the sequence number stage variable when it chang...