Search found 109 matches

by bond88
Tue May 14, 2013 1:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Bulk transfer between oracle databases/tables ?
Replies: 5
Views: 1978

Bulk transfer between oracle databases/tables ?

Hi,
I am working on a simple task which is just copy data from one table to another table. Number of rows on the table are 28 million. Can anyone suggest the best/efficient way to transfer data between two databases using datastage ?

Thank you,
by bond88
Thu Jan 24, 2013 2:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I design this job with this logic?
Replies: 6
Views: 3741

stuartjvnorton,
As of now its just letter A but its not always A and S so the sort logic you explained wont work. Could you please suggest some other solution (plz make A and S as generic/variable) then how can I handle the same job?

Thanks,
by bond88
Tue Jan 22, 2013 4:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I design this job with this logic?
Replies: 6
Views: 3741

Sorry Ray, What I mean was if we have more records with same ID number then take record with status A. Even if we have records with status A more than 1 for same ID then take the record which has max effective date. Even if we have more than 1 record with same Effective date then take record with po...
by bond88
Tue Jan 22, 2013 12:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I design this job with this logic?
Replies: 6
Views: 3741

How can I design this job with this logic?

Hi, I have a source like this ID-- Status-- Position-- Date 1 T S 01/20/2012 1 R S 08/20/2012 1 D S 09/20/2011 1 A S 10/20/2012 1 A S 11/18/2012 2 T S 02/22/2011 2 A L 08/15/2012 2 A S 08/15/2012 Output: ID Status Position Date 1 A S 11/18/2012 2 A S 08/15/2012 Logic: If ID > 1 record then take reco...
by bond88
Tue Jan 08, 2013 12:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Suggest me how to deal with this JOIN?
Replies: 2
Views: 1226

Suggest me how to deal with this JOIN?

I am getting data from different tables and schemas using Oracle connectors. My job contains 12-15 joins and at last before writing to a Oracle table this is the scenario, I want to join two tables I need the data from one table and whatever the columns I need from another stream. I am using right o...
by bond88
Mon Jan 07, 2013 2:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use NOT IN condition ??
Replies: 2
Views: 1033

We can use <> X in where condition in filter stage. (You can also use AND in where condition)
by bond88
Mon Jan 07, 2013 2:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use NOT IN condition ??
Replies: 2
Views: 1033

How to use NOT IN condition ??

I want to use NOT IN condition in Datastage. I need records which are not 'X'. (If I need records which are X, I can use filter what about NOT X).
by bond88
Thu Jan 03, 2013 6:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I am getting null values? Suggestion please
Replies: 3
Views: 1446

I restarted my Datastage server. Problem Solved...
by bond88
Thu Jan 03, 2013 5:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I am getting null values? Suggestion please
Replies: 3
Views: 1446

All joins are left outer and I used some more joins in oracle connectors as well (in queries).
by bond88
Thu Jan 03, 2013 5:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I am getting null values? Suggestion please
Replies: 3
Views: 1446

I am getting null values? Suggestion please

I have a job which has 3 joins, job is Oracle,Oracle --> Join, Oracle --> join, oracle --> join --> sequential file/Oracle table. At each oracle connector I am able to see data and while I ran the job it went successfully and it was showing as 74240 rows wrote in sequential file. But all the values ...
by bond88
Thu Jan 03, 2013 10:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is it possible to use data without creating intermediate obj
Replies: 2
Views: 1374

Is it possible to use data without creating intermediate obj

Hi, I am working on a job which has nearly 250+ columns in target. All these columns are coming from so many tables. I have another job and which has also pretty much same number of columns and it is using some of the columns which are generated in previous job. I dont want to create any intermediat...
by bond88
Wed Jan 02, 2013 9:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Connector as target in PIVOT stage ?
Replies: 7
Views: 3019

Thanks Ray, I have a doubt, in my job I am not sure how many columns will come with same ID, so thats why I gave array size of 20 in PxPivot Stage. Previously I was writing to a sequential file after transformer stage (PxPIVOT stage --> Transformer --> Sequential file). In transformer stage I was ab...
by bond88
Mon Dec 31, 2012 4:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Connector as target in PIVOT stage ?
Replies: 7
Views: 3019

Sorry Chulett, Job is like this oracle connectors(Source) --> joins --> transformer --> pivot (vertical) --> transformer --> oracle connector (Target). Columns are ID, PID, Name, Email. I am grouping on ID and pivoting remaining columns PID, Name and Email and I dropped one column intentionally afte...
by bond88
Mon Dec 31, 2012 3:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Connector as target in PIVOT stage ?
Replies: 7
Views: 3019

Oracle Connector as target in PIVOT stage ?

Hi, I am able to write pivot (VERTICAL PIVOT) results to a sequential file without having any error but I am getting errors in the case of writing to a Oracle table. First of all, table is creating with all the Vertical PIVOT values instead of values in transformer stage (I am using transformer afte...
by bond88
Thu Dec 13, 2012 3:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle Blob ?
Replies: 10
Views: 3920

Hi, I am getting following error when I was using copy stage to handle blob data. "Copy_18,1: Fatal Error: Virtual data set.; output of "Copy_18": the record is too big to fit in a block; the length requested is: 139266, the max block length is: 131072.". Could you please give ad...