Search found 1099 matches

by kris007
Tue Jul 27, 2010 3:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup or join?
Replies: 2
Views: 1221

You have posted in Server forum but marked your job type as Parallel. Assuming your job is parallel, you can use Sparse lookup to do the lookup against the db2 table. Also, if you are reading only the key fields from the db2 table you can still use the normal lookup to see how long it takes to read ...
by kris007
Tue Jul 27, 2010 2:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup and using seqfile, or dataset, or file set for a ref
Replies: 2
Views: 1079

It depends on the requirement you have. If all those stages have the same number of records then there won't be much difference performance wise. DB2 might be slower by the time it takes to establish the connection to the database (on the same server or remote server).
by kris007
Tue Jul 27, 2010 1:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I subtract two dates in a Parallel JOB?
Replies: 5
Views: 3821

Depends on what you want as your output. Do you need the date or the number of days between the dates? If you are interested in Date as an output, you can convert the dates in Julian, find the difference and then convert it back to Gregorian. I have done that in the past successfully.
by kris007
Mon Jul 26, 2010 11:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Server-to-Parallel question on aggregate-and-lookup
Replies: 5
Views: 2250

Re: Server-to-Parallel question on aggregate-and-lookup

You can use a copy stage after your Sequential stage and define two output links from the Copy stage-- one for the lookup and one for the aggregation.
by kris007
Sat Jul 24, 2010 12:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert Varchar to Decimal in Transformer??
Replies: 5
Views: 2615

But I am not sure whether StringToDecimal function will work or not.We need to use another function i guess. As you say, changing the data type on output link has worked. If we have any specific function it would be great. Well..For a start you can start using it and test it to see if it is working...
by kris007
Sat Jul 24, 2010 11:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert Varchar to Decimal in Transformer??
Replies: 5
Views: 2615

You can just define the datatype on the output link as Decimal and most of the times that should be enough. If not you can always use StringToDecimal.
by kris007
Fri Jul 23, 2010 9:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TimestampToString Format String Requirements
Replies: 1
Views: 4661

Re: TimestampToString Format String Requirements

Does it need all the little date and time pieces in there to work? Because you are using TimeStampToString, the function expects you to describe the way the timestamp in the input data looks. If all you are interested is the time part of the Timestamp you can use TimeStampToTime and then convert it...
by kris007
Fri Jul 23, 2010 2:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator Stage error
Replies: 2
Views: 1555

Usually, Aggregator Sum/Difference output is defaulted to Double ( datatype). Try changing it to Decimal and you should be good.
by kris007
Fri Jul 23, 2010 1:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Copy Stage
Replies: 3
Views: 3384

Re: Copy Stage

That applies only to single input and single output ... if we use a more inputs it should be set to False ?? You should be aware that Copy Stage can only accept one input link. It cannot accept multiple input links. The default setting is FALSE and the help within the stage is quite self explanator...
by kris007
Fri Jul 23, 2010 8:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filter Stage Condition
Replies: 3
Views: 1456

Re: Filter Stage Condition

It should be

Code: Select all

Field <> '1' AND Field <> '2' AND Field <> '3'
Same applies in Transformer stage.
by kris007
Thu Jul 22, 2010 6:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To Avoid a Possible Deadlock
Replies: 4
Views: 2728

DB stage does not support two input links. What you can do is use the two separate links - one for update, one for insert and use a funnel stage with those two input links and the output of the funnel stage goes to your DB stage. That way, there is only one link that accesses your DB and you won't h...
by kris007
Wed Jul 21, 2010 7:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGINT in Director
Replies: 13
Views: 3935

Last time I tried it, it was fine, but many things were added to the jobs since then. Doug There lies your answer. You will have to figure out what component that was added might have caused this issue. I asked earlier but I'll ask again. Are there any warnings in your director log that is causing ...
by kris007
Tue Jul 20, 2010 2:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File (CSV) and quoting/escaping
Replies: 7
Views: 15504

Did you try specifying the quote character specifically at the column level? Can you try doing that? I remember doing something similar but can't recollect the exact steps.
by kris007
Tue Jul 20, 2010 1:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGINT in Director
Replies: 13
Views: 3935

Is this a Job Sequence or just a parallel job? Are you getting any warnings before you get the SIGINT error. Can you post any warnings from director log? Couple of reasons why SIGINT error occurs is when someone tries to stop the job or if the number of warnings exceed the limit mentioned in the Job...
by kris007
Mon Jul 19, 2010 8:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stage Equivalent to Transformer
Replies: 6
Views: 1626

Re: Stage Equivalent to Transformer

Short Answer : NO.

However, there are couple of Stages in data stage that can perform few of the functions as the transformer like Filter, Modify