Search found 139 matches

by fmartinsferreira
Thu Oct 05, 2006 12:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: jobs compare
Replies: 13
Views: 4043

jobs compare

Is it possible to compare a job in a project with a job in a ".dsx" file? :roll:

Regards,

Fernando Martins
by fmartinsferreira
Wed Oct 04, 2006 2:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Environment Variable - Export
Replies: 11
Views: 2178

Thats Worked!
Thanks a lot!
:D

Fernando Martins
by fmartinsferreira
Wed Oct 04, 2006 12:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Environment Variable - Export
Replies: 11
Views: 2178

Environment Variable - Export

Is it possible to export the Environment variables from one project to another?

Regards,

Fernando Martins
by fmartinsferreira
Thu Aug 17, 2006 9:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: condition in a transformer
Replies: 19
Views: 5699

Ok, this is a little bit tricky. Before building the hashed file, add another column which is a surrogate key, a running number, i.e, 1,2,3..... and so on. Specify that as key and in the derivation of the lookup specify @INROWNUM so that each and every row has a hit. Define a stage variable to chec...
by fmartinsferreira
Wed Aug 16, 2006 2:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: condition in a transformer
Replies: 19
Views: 5699

How does that affect the calculations?? you are doing lookup matching all your columns in lookup file with the main file? Krazykoolrohit it's almost this. :) main input = LINK_001 main_id dt_record lookup input = LINK_002 lookup_id lookup_desc dt_start dt_end rule: Only load the records where main_...
by fmartinsferreira
Wed Aug 16, 2006 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: condition in a transformer
Replies: 19
Views: 5699

This is a simple lookup keyed on a single key with an extra condition that can be accomodated in the contraint. You constraint will look something like NOT(LookupLink.NOTFOUND) AND ICONV(dt_record,"D/MDY[2,2,4]") >= ICONV(dt_start,"D/MDY[2,2,4]") AND ICONV(dt_record,"D/MDY[...
by fmartinsferreira
Wed Aug 16, 2006 11:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: condition in a transformer
Replies: 19
Views: 5699

as for the second condition. you will fetch the start dates and end dates. use these to calculate the eligibility for each row in a stage variable. ex: if dt_start > dt_record and dt_record < dt_end then 1 else 0 Krazykoolrohit I can't do "if LINK_002.dt_start > LINK_001.dt_record and LINK_001....
by fmartinsferreira
Wed Aug 16, 2006 11:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: condition in a transformer
Replies: 19
Views: 5699

What you are trying to do is called a Range lookup or Multi-row lookup. You will have to use a Universe stage as a look up instead of hashed file.Click here . It's described in this post on how to achieve what you want. If you have any questions come back here. :wink: kris007 the link is broken and...
by fmartinsferreira
Wed Aug 16, 2006 11:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: condition in a transformer
Replies: 19
Views: 5699

condition in a transformer

I need to apply one condition in a transformer and I'm little lost. :oops: rule: Only load the records where main_id = lookup_id and dt_record between dt_start and dt_end. - main input I have main_id and dt_record - lookup input I have lookup_id, lookup_desc, dt_start and dt_end. - target I have mai...
by fmartinsferreira
Fri Jul 28, 2006 9:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parameter in the ExecCommand Activity Stage
Replies: 7
Views: 1812

ArndW wrote:Yes you can. The command line needs to be an executable and not contain any parameters, but I've done something like make the command line "sh -c " and the command line options then contain "#JobParam ...
It's work! :lol:

Thanks a lot!

Fernando
by fmartinsferreira
Fri Jul 28, 2006 9:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parameter in the ExecCommand Activity Stage
Replies: 7
Views: 1812

parameter in the ExecCommand Activity Stage

Is it possible to put a parameter in the ExecCommand Activity Stage? :roll:

Thanks,

Fernando
by fmartinsferreira
Wed Jul 26, 2006 10:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: replace
Replies: 4
Views: 1188

I solved using change function

Thanks
by fmartinsferreira
Wed Jul 26, 2006 10:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: replace
Replies: 4
Views: 1188

replace

Hi everybody!

My input is "0.678" and I need the following output "0,678".

Does anybody know how can I do this in the transformer?

Regards,

Fernando
by fmartinsferreira
Tue Jul 25, 2006 1:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parameters
Replies: 5
Views: 822

Thanks!
by fmartinsferreira
Tue Jul 25, 2006 12:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parameters
Replies: 5
Views: 822

Is it possible to do this with another job sequence?

Fernando