Search found 16 matches

by GIDs
Sat May 14, 2005 3:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partitioning
Replies: 1
Views: 1392

Using HASH is better off... you are gaurenteed of perfect results. You have to sort the input on all input links (if not previously sorted) in the same order as your join key, but partition on one/two columns that you think would provide a good partitioning of your data and which will also group you...
by GIDs
Tue Feb 08, 2005 1:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dropped records
Replies: 6
Views: 4126

Hi Write a post-job DataStage basic subroutine that counts the number of records from the source link and the database write link. Then match the counts and if they do not match conclude that there is some error. I don't think reject capture will help you in this regard because the records are not ...
by GIDs
Mon Feb 07, 2005 10:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to prevent skip in oracle sequence in DS Parallel Job
Replies: 2
Views: 2567

Re: How to prevent skip in oracle sequence in DS Parallel Jo

Hi, I have developed a parallel job in datastage that loads the target table and assigns an oracle sequence for every record inserted. During update, it only updated the record without incrementing the surrogate key sequence. Earlier the oracle sequence was created with a cache=20 but then the DBA ...
by GIDs
Mon Feb 07, 2005 10:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dropped records
Replies: 6
Views: 4126

Re: Dropped records

I loaded a sequential data set into a db2 table. Three of the records did not load since a date field had invalid data ('**********'). I have corrected the date problem. My concern is that the job did not abort, but had a successful completion. The director did say that the job had a binary load er...
by GIDs
Mon Feb 07, 2005 9:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence Number From Oracle
Replies: 5
Views: 3505

Re: Sequence Number From Oracle

Hi all, I want to get the next sequence for x records coming from the I/P source . I need to get X new Sequence values from oracle. But for a given record I have to Put in two tables,same set of records with the same sequence number. this is easily possible in Server by using oracle as refernce lin...
by GIDs
Mon Feb 07, 2005 9:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling DataStage Routine from Parallel job
Replies: 7
Views: 9202

Re: Calling DataStage Routine from Parallel job

Hi, I have a DataStage Server routine which i need to call from a PX job. I tried using everything including using transform for the same but nothing worked. can there be a round about way to call a routine from the PX job. Currently i am using a server shared container for the purpose but would li...
by GIDs
Mon Feb 07, 2005 9:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Handling Null update sql
Replies: 2
Views: 1860

Re: Handling Null update sql

Hi I am running a job which updates a table using the below sql. Sql is from "Generated sql" in the Oracle8i oci stage Update table test a set a.date1 =sysdate where a.pk1=:1 and a.Pk2=:2 Paramters which are both composite primary key: :1 has null value from the input stage(not always nul...
by GIDs
Sat Feb 05, 2005 3:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to load data from oracle partitioned table in Px.
Replies: 3
Views: 5118

Re: How to load data from oracle partitioned table in Px.

Hi, I have to load data from a range partitioned oracle table, partitioned by date on weely basis. My target table is a non partitioned oracle table. I need to know what oracle stage settings do i need to make to load the data from this partitioned table successfully. The source table contains arou...
by GIDs
Thu Feb 03, 2005 5:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA-26028: index initially in unusable state
Replies: 15
Views: 14459

An Oracle index becomes UNUSABLE when you load data, but the index is not updated with the new records. Here is a sequence of events... 1. Disable the PK (with a KEEP clause), this keeps the associated INDEX 2. When fresh data is loaded, the index still is in UNUSABLE state 3. So, we need to rebuild...
by GIDs
Mon Jun 21, 2004 11:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: One row missing
Replies: 7
Views: 3855

Re: One row missing

[quote="aruna_peri"]One row is missing in every load. If I load 101 rows then only 100 rows are loaded. The other one record is neither in error log/rejected file nor in Final Table. ( Initially thought the first row of the file is treated as header line so its not reading but I have not m...
by GIDs
Fri May 28, 2004 5:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Did you know? Running Oracle blocks, trapping rejects &
Replies: 5
Views: 4871

Did you know? Running Oracle blocks, trapping rejects &

We have ben trying to come up with a solution to trap rejects... our requirements were... 1. Abort the job on 1st record reject, but trap the rejected record before aborting (on couple of jobs) 2. Trap all types of rejects (not only NOT NULLs, but even referential etc) but don't abort the job (on co...
by GIDs
Tue May 25, 2004 12:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple targets and restart
Replies: 8
Views: 4579

You are right, Ray, I should have specified that the APTs work on parallel jobs (but, chaitanyavm, I thought was referring to both types of jobs) and also, vmcburney had already given a way of dealing with server jobs commit frequency (transaction size), so summarizing...... For server jobs, Use Tra...
by GIDs
Mon May 24, 2004 11:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple targets and restart
Replies: 8
Views: 4579

Re: Multiple targets and restart

Hi This is my first post. We have interfaces which have multiple targets like MQ, Database (Oracle,DB2 etc). Our interfaces (datastage load jobs) read multiple files one per each target and write to the MQ, Database or file. There are several instances when there should not be duplicate processing ...
by GIDs
Mon May 24, 2004 1:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aggregation
Replies: 7
Views: 3110

ray.wurlod wrote:Not so easy where the sub-query is a UNION or INTERSECTION etc. :roll:
I think Raju was specifically asking for count(*) "coming from specific join condition" and it DOES work for any kind of join even if one of the tables within the main select is a subquery itself!!
by GIDs
Sun May 23, 2004 9:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aggregation
Replies: 7
Views: 3110

You can give a count(*) in the original statement itself, instead of in a sub-query