Thanks Ray,
But I am not converting it in to Date type. I just want to concatenate 01 to a column type decimal. I wasn't able to get the required output. Later I multiplied decimal type value by 100 and added +1 to that to get required output as Chulett suggested.
Thank you for your input.
Search found 109 matches
- Tue Jun 25, 2013 3:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Concatenation in transformer ?
- Replies: 9
- Views: 5132
- Tue Jun 25, 2013 2:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Filter on Max Date ?
- Replies: 3
- Views: 1623
Filter on Max Date ?
Hi, I want to select unique records based on max date. Could you please suggest a best approach to achieve the below output? Input: ID--Date 1---10/11/2011 1---12/08/2005 1---01/15/2012 2---02/18/2010 2---03/04/2013 Output: ID---Date 1---01/15/2012 2---03/04/2013 27-30 million records at input. Than...
- Mon Jun 24, 2013 4:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Concatenation in transformer ?
- Replies: 9
- Views: 5132
- Mon Jun 24, 2013 3:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Concatenation in transformer ?
- Replies: 9
- Views: 5132
- Mon Jun 24, 2013 3:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup: Fatal Error
- Replies: 6
- Views: 3017
There are several possible reasons for this error, I've been fighting that problem at this site for a while. How long between job startup and getting this error? Is it around 10 seconds? If yes, then 8.7 Fixpack 2 has a fix for this issue - see APAR JR43681 I was getting this error after 15-20 sec'...
- Mon Jun 24, 2013 3:38 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup: Fatal Error
- Replies: 6
- Views: 3017
- Mon Jun 24, 2013 3:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Concatenation in transformer ?
- Replies: 9
- Views: 5132
Concatenation in transformer ?
Hi, I want to concatenate '01' to a decimal value in a transformer stage. I tried it using stage variables but I didn't get exact result. Can you suggest me a way to achieve this? Source data is like 201001, 201103, 200905 (6 digits, Integer/Decimal format) Target should be like 20100101, 20110301, ...
- Mon Jun 24, 2013 11:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup: Fatal Error
- Replies: 6
- Views: 3017
- Mon Jun 24, 2013 10:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup: Fatal Error
- Replies: 6
- Views: 3017
Lookup: Fatal Error
Hi,
I am getting following error
Lookup_3,0: Fatal Error: Unable to allocate communication resources
Can you please help me in resolving this issue?
I am getting 5-6 millions of records from source and after lookup I am using aggregator stage (aggregation on keys from lookup stage).
Thanks,
I am getting following error
Lookup_3,0: Fatal Error: Unable to allocate communication resources
Can you please help me in resolving this issue?
I am getting 5-6 millions of records from source and after lookup I am using aggregator stage (aggregation on keys from lookup stage).
Thanks,
- Thu Jun 13, 2013 9:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Aggregation/Summation
- Replies: 9
- Views: 5929
Correct me if this approach is wrong/lengthy one. First I can sort descending by project_id and fiscal_year along with key change column and if I filter on keychange=1 then I will get one row for each year for particular project_id and after that if I use sort stage again to sort by project_id along...
- Thu Jun 13, 2013 9:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Aggregation/Summation
- Replies: 9
- Views: 5929
- Thu Jun 13, 2013 9:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Aggregation/Summation
- Replies: 9
- Views: 5929
Thanks Chulett, You are right ! If we use aggregator stage and group by on project_id, year and month and I used Aggregation type = calculation, column for calculation = amount, sum of output column = amount_sum But I am getting all the years and corresponding months. How could I get the latest year...
- Wed Jun 12, 2013 2:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Aggregation/Summation
- Replies: 9
- Views: 5929
Aggregation/Summation
Hi all, Could you please help me in creating this job? Input Project_ID-----Year-----month-----code-----amount 1 ---------------2011----1------------10-------100 1----------------2011----1------------20-------95 1----------------2011----1------------30-------80 2----------------2011----1------------...
- Wed Jun 12, 2013 11:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to get data from different sources at a time?
- Replies: 2
- Views: 1039
- Wed Jun 12, 2013 9:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to get data from different sources at a time?
- Replies: 2
- Views: 1039
How to get data from different sources at a time?
Hi all, Is there a way to get the data from different tables/sources at a time and load in to the target in a single job? Lets assume there are 3 tables and each table has 10 rows and I want to load data in to target from these 3 tables that means 30 rows (3*10) in a single job? Suggest me a way to ...