Search found 504 matches
- Thu Oct 08, 2015 2:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Column output list based on reference data
- Replies: 6
- Views: 4641
Ok, so you only what columns you require once the job has started running. In that case you will need to pivot your data, whilst at the same time adding column which contains your column names. This can be achieved in a variety of ways: 1. Use a peek stage with an output link. Set the peek to return...
- Wed Oct 07, 2015 9:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Column output list based on reference data
- Replies: 6
- Views: 4641
So you know before you run the job which columns are required for reference? In that case I would just use a modify stage and set a KEEP specification in which you specify your column names to keep. You would pass these column names via a parameter which you populate as the job starts. OR You might ...
- Wed Oct 07, 2015 7:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Divide records to links
- Replies: 7
- Views: 5149
- Wed Oct 07, 2015 7:15 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Divide records to links
- Replies: 7
- Views: 5149
Of course there is a stage - the transformer stage. There is also a switch stage - but that would also use the same criteria as a transformer stage (I think). Then again - I cannot think of a reason why you would want to split your input rows without some sort of criteria - for me, splitting of rows...
- Wed Oct 07, 2015 6:36 am
- Forum: Enhancement Wish List
- Topic: channel for development idea's ?
- Replies: 2
- Views: 23042
You could try following the suggestion here:
http://www-01.ibm.com/support/docview.w ... wg21662699
http://www-01.ibm.com/support/docview.w ... wg21662699
- Wed Oct 07, 2015 6:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Divide records to links
- Replies: 7
- Views: 5149
Are you using multiple nodes to process? If you just want to split them evenly then I would use the Mod function on the Input Row number in a transformer stage variable. You can then equate the constraint on each output link accordingly. eg set stage variable svOutputLink as Mod(@INROWNUM,3) Set out...
- Wed Oct 07, 2015 5:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Divide records to links
- Replies: 7
- Views: 5149
- Wed Oct 07, 2015 4:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Column output list based on reference data
- Replies: 6
- Views: 4641
Couple of questions: Does each input row potentially have a different set of reference column requirements? If so - how do you determine from your input row which columns need to be referenced? Ie in your example you suggest that your input row requires an output of only cols A,B and E? Does your jo...
- Tue Aug 18, 2015 2:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: RCP with Shared Containers
- Replies: 4
- Views: 2931
You don't have to have Transformer2 set to RCP - I was just pointing out that is probably why it wasn't compiling when you tried to surface column B. So you have two options 1. Either surface column B using a copy/modify stage prior to the Transformer2, then set the transformer to RCP off and output...
- Fri Aug 14, 2015 8:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: RCP with Shared Containers
- Replies: 4
- Views: 2931
- Mon Aug 03, 2015 2:21 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: varchar numeric to Oracle decimal conversion
- Replies: 12
- Views: 8117
Not sure how to convert in SQL first. Use case when? You would just put the syntax around the field that you wish to convert, so your select statement would become (and add the column alias afterwards else datastage tends to get confused): Select key, code, to_number(replace(value,',','')) value fr...
- Fri Jul 31, 2015 9:56 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: First and last record
- Replies: 7
- Views: 3939
- Fri Jul 31, 2015 9:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: varchar numeric to Oracle decimal conversion
- Replies: 12
- Views: 8117
If your source is oracle you could convert it to a number prior to output?
eg use the following in your select clause for the given column where INPUT is your varchar input value.
That syntax should work for any of the values that you provided.
eg use the following in your select clause for the given column
Code: Select all
to_number(replace('INPUT',',',''))
That syntax should work for any of the values that you provided.
- Thu Jul 23, 2015 3:04 am
- Forum: General
- Topic: MultiInstance Sequncer failing with Error code 255
- Replies: 19
- Views: 9593
- Thu Jul 23, 2015 2:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Design Scenario
- Replies: 10
- Views: 11322
I think what @rkashyap is getting at is that you might need to add an extra columns to you outputs that can be used to determine sort order. This could be as simple as the key column AND some sort of counter. Then you can set your funnel to sort the data. After the funnel you would drop the unrequir...