Search found 14 matches

by Palci
Wed Jun 06, 2012 10:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check zeros in transformer Stage
Replies: 6
Views: 3108

Thanks a lot ZULFI. This works !!
by Palci
Wed Jun 06, 2012 7:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Check zeros in transformer Stage
Replies: 6
Views: 3108

Check zeros in transformer Stage

I have a small doubt. Please help My source file has a col A (datatype varchar(12)) and I want to populate target col B (Datatype Smallint) with the logic that if the col A is zero then col B = 1 Now the concern is that as the source col A is having length as 12, I can get anything from 1 zero to 12...
by Palci
Tue Dec 13, 2011 1:27 am
Forum: General
Topic: IBM Certified Solution Developer - InfoSphere DataStage v8.0
Replies: 7
Views: 5515

<removed>

Moderator note: please don't post that that kind of help here, it won't be tolerated.
by Palci
Tue Dec 13, 2011 12:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage
Replies: 1
Views: 1789

Datastage

I ahve a parallel job in whic I am using Constarints on lookup. I am putting 2 conditions and they are like 1) src.a = ref.a ; If condition not met - drop; If lookup failure - drop 2) src.b = ref.b ; If condition not met - drop; If lookup failure - drop Now if I have 2 rows in my source which is sat...
by Palci
Thu Nov 24, 2011 6:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Parallel Shared Container
Replies: 4
Views: 3417

Re: Design of shared container

So does it mean that only for the transformer you are using a SC. Why do so ?? Directly put the transformer in the job. If its very complex logic then only use the SC. And also did you check the output columns validity??
by Palci
Wed Nov 23, 2011 12:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Updating multiple records
Replies: 9
Views: 5852

Re: Updating multiple records

@ PhilHibbs - I want to achieve exactly opposite of this. If I get a multiple match after a doing a lookup then I want my job to abort. How do I do that? Any Idea?
by Palci
Tue Nov 22, 2011 11:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup stage in DS
Replies: 5
Views: 2941

Well I don't want to remove duplicates nor I want unique records from my lookup. All I want is to abort the job if lookup returns multiple match. I guess this can be done in 8x versions of DS. Has anybody implemented thsi in there jobs??
by Palci
Tue Nov 22, 2011 1:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup stage in DS
Replies: 5
Views: 2941

Lookup stage in DS

In Lookup stage in Datastage, I want to abort my job if I get multiple matching records from my lookup table. How do I do this in the lookup stage??
by Palci
Sun Nov 20, 2011 10:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loop condition in Transformer Stage in DS
Replies: 3
Views: 6245

I have already calculated X and Y before in my job by using a transformer.
Can you please ellaborate more on how to mention this loop condition in the transformer stage as I am new to this tool and I'm trying this loop condition for the very first time. Thanks for your inputs.
by Palci
Fri Nov 18, 2011 10:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loop condition in Transformer Stage in DS
Replies: 3
Views: 6245

Loop condition in Transformer Stage in DS

I want to implement a loop in the transformer stage in datastage for a column name Col1(varchar). Source Column = SrcCol1 (varchar) condition is : X =7, Y = 1 {Set n = 0 Loop (until I get a match on doing the below lookup) or (X-n = Y) Lookup Substring (SrcCol1, 1,X-n) in a Dim1 table n = n+1 Endloo...
by Palci
Fri Nov 18, 2011 4:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage - Maximum length of a column
Replies: 8
Views: 9366

It can easily be done in the Transformer stage. Simply calculate the length in the current record and compare with the length in the previous record. If it's smaller, update the min. If it's larger ... This is how I was planning to do it, But how can I identify the 1st row and the 2nd row and so on...
by Palci
Thu Nov 17, 2011 10:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage - Maximum length of a column
Replies: 8
Views: 9366

Just add one more column in transformer stage which contains the len(dialled_string). Then use Aggregator stage and find min,max values. Thanks Pandeesh, I will try this one in my job.. Just a thought is there a way to do this in transformer stage?? Also based on these minimum and maximum values I ...
by Palci
Thu Nov 17, 2011 11:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage - Maximum length of a column
Replies: 8
Views: 9366

Datastage - Maximum length of a column

Hi, I have a table with the following data -------------------------------------------------------------------------------------- Dialed Digit | MCC |MNC +46 | 240 |AA +46675 | 240 |02 +467230 | 240 |02 +46252 | 240 |07 0 | 240 |07 --------------------------------------------------------------------...