Search found 1099 matches

by kris007
Sat Jul 17, 2010 6:14 pm
Forum: General
Topic: Datastage Multiple instance job to run 'n' times using parm
Replies: 16
Views: 26508

Re: Datastage Multiple instance job to run 'n' times using p

You will have to put JobA within another Job Sequence and then use the looping logic with Counter value set to the ParamA value. That way, JobA will run as many times you want with the correct instance ID's.

Hope that helps.
by kris007
Thu Jul 15, 2010 4:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Select List in DB2/UDB enterprise stage
Replies: 3
Views: 1419

dsusersaj wrote: You will get the 'Select List' property when you right click Table-->Add sub property-->Select List.
Aaah...there it is :!:
by kris007
Thu Jul 15, 2010 3:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Select List in DB2/UDB enterprise stage
Replies: 3
Views: 1419

Is the column you are trying to increment is a key column on that table or another regular column within that table? If its a regular column, you can lookup against your table and get the max value for that key and use a Transformer to increment the value before you load it into the table. If it's a...
by kris007
Thu Jul 15, 2010 1:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Upsert Inserting Duplicates - DB2 - Enterprise
Replies: 10
Views: 3512

It worked perfectly after that BUT for me to utilize an upsert in this manner on PROD would encur a large amount of work and redesign considering that most of the tables will have a portion of the update key as the PKey but not it in it's entirity. What this means is you are trying to insert duplic...
by kris007
Thu Jul 15, 2010 5:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Records are getting rejected
Replies: 5
Views: 1879

Re: Rejecords are getting rejected

You would still need to correct your transform to properly handle the NULL's and avoid rejects in the future when the data comes in with NULL values.
by kris007
Wed Jul 14, 2010 9:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Records are getting rejected
Replies: 5
Views: 1879

Re: Rejecords are getting rejected

If (IsNull(lk_trim_trans.doc_notes)) Then TrimLeadingTrailing(lk_trim_trans.doc_notes) Else TrimLeadingTrailin(lk_trim_trans.doc_notes) What you are doing here is trying to Trim the NULL which is not possible. Your transform logic should be If (IsNull(lk_trim_trans.doc_notes)) Then SetNull() Else T...
by kris007
Wed Jul 14, 2010 1:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Upsert Inserting Duplicates - DB2 - Enterprise
Replies: 10
Views: 3512

Are you saying that you are seeing records in the warehouse tables with duplicate keys in your table. That really seems strange. Can you please confirm that again and examples of some dummy data should help us answer you better.
by kris007
Wed Jul 14, 2010 9:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2/UDB enterprise stage Message file
Replies: 6
Views: 1839

Are you sure the 700 input records are distinct records? I would check that by putting a Remove Duplicates stage after your Funnel Stage. Usually, partial records get dropped when there is a key contention. As per the message file, I think it gets created only when your load job fails which is not y...
by kris007
Thu Feb 12, 2009 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Capture with 1.5 million rows
Replies: 4
Views: 2622

You can use Change capture stage without any problem as long as you partition and sort the data. You could also use Merge Stage and collect the rejects in a different link.
by kris007
Thu Aug 23, 2007 11:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File name length or table name length limit
Replies: 4
Views: 4541

Netezza can handle much longer column names. The problem is not with netezza it might be with netezza plugins in datastage. Opened a case with IBM they are going to send a patch.
by kris007
Wed Aug 22, 2007 11:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File name length or table name length limit
Replies: 4
Views: 4541

File name length or table name length limit

Is there any filename/tablename/columnname length limit for datastage.
We have a problem with columnnames exceeding 31 characters using netezza as database. Can anyone who faced this issue please comment how you resolved this.
Thanks
Kris
by kris007
Tue Jun 26, 2007 6:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delta Processing using change capture
Replies: 4
Views: 2447

You can remove all the occurences of a character as follows:

Code: Select all

Trim (Input.Column," ", "A" )
by kris007
Mon Jun 25, 2007 9:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using CurrentTimestamp() Function
Replies: 2
Views: 1458

This should help:

Code: Select all

Trim(CurrentTimeStamp(),"-","A") 
by kris007
Wed Jun 20, 2007 3:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup condition
Replies: 1
Views: 595

Do you have an explanation as to why you want to do it that particular way? Writing the query using where condition is efficient than reading all the rows and then applying the condition in the transformer stage.
by kris007
Wed Jun 20, 2007 3:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to append values to next link
Replies: 4
Views: 2241

Can you please post how you want your target data to look? From what I understand a full outer join should do.