Search found 53125 matches

by ray.wurlod
Wed Jun 05, 2013 7:04 pm
Forum: IBM QualityStage
Topic: Quality Stage - standardize stage - Null Handling
Replies: 2
Views: 2932

Please advise exact version (8.0, 8.1, 8.5 or 8.7).

Are you having a particular problem? If so, what is it? What error messages are you getting?
by ray.wurlod
Wed Jun 05, 2013 5:50 pm
Forum: Enhancement Wish List
Topic: DataStage Parallel Debugger
Replies: 1
Views: 8604

DataStage Parallel Debugger

Two requests. 1. "Step to next link" (and maybe "step to next row") functionality, as in the server debugger. 2. The ability to toggle breakpoints on links that transition a boundary into a local container. (Shared container would be nice, too, but I can envisage rather more diff...
by ray.wurlod
Tue Jun 04, 2013 8:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue with Date format in SP
Replies: 12
Views: 4362

In short, make absolutely sure that your date picture matches the format of your data. And make sure, if you're using it, that the second and third arguments of the substr function are correct.
by ray.wurlod
Tue Jun 04, 2013 5:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to calculate running totals (cumulative) based on a col?
Replies: 25
Views: 9356

Sort by project_id, year, account_period and category in a Sort stage, generating a key change column.

In Transformer stage derive stage variable svRunningTotal value as follows.

Code: Select all

If keyChange = 1 Then amount Else svRunningTotal + amount
by ray.wurlod
Tue Jun 04, 2013 5:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Alternate logic required ?
Replies: 11
Views: 3547

An alternate logic would be to use a ranking function in the presentation layer (e.g. a query) rather than using an ETL tool to perform a non-ETL task.
by ray.wurlod
Tue Jun 04, 2013 5:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue With DateoffSetByComponents Function
Replies: 10
Views: 4894

So what if it's 2013-02-28? Do you want it to take you to the last day of the previous month (2013-01-31) or the corresponding day number (2013-01-28)? Now do you see the dilemma?
by ray.wurlod
Tue Jun 04, 2013 5:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge stage in server jobs
Replies: 1
Views: 1242

Any time you're working with a sequential file - and this includes the Merge stage - you must mention the entire structure. The term "sequential" implies that you have to read past every byte in the file to get to the next one.
by ray.wurlod
Tue Jun 04, 2013 2:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue With DateoffSetByComponents Function
Replies: 10
Views: 4894

How would YOU specify the function's behaviour? What do you believe the function should return from the original example?

There is no 31st of February.
by ray.wurlod
Tue Jun 04, 2013 2:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Derivations For Reference
Replies: 1
Views: 1591

Few places in the world have a financial year ending on April Fools' Day. There's much more you can do with these functions. For example: MonthFirst (first day of current month) - three different ways: DateOffsetByDays(TheDate, -1 * MonthDayFromDate(TheDate)) DateOffsetByComponents(TheDate, 0, 0, -1...
by ray.wurlod
Tue Jun 04, 2013 1:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue With DateoffSetByComponents Function
Replies: 10
Views: 4894

Ann Elk

I have a theory about what this function is doing. Having pondered this theory, I am forced to wonder how they could have done it any other way. The problem is that not every month has 31 days. It seems (from other tests such as DateOffsetByComponents("2013-03-31", 0, 1, 0), which returns ...
by ray.wurlod
Tue Jun 04, 2013 1:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue With DateoffSetByComponents Function
Replies: 10
Views: 4894

Using job parameters rather than constants made no difference.

Code: Select all

DateOffsetByComponents(StringToDate("2013-03-31"),jpYearOffset,jpMonthOffset,jpDayOffset)
by ray.wurlod
Tue Jun 04, 2013 1:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue With DateoffSetByComponents Function
Replies: 10
Views: 4894

The following works.

Code: Select all

DateOffsetByComponents(StringToDate("2013-03-31"),0,-2,0)
but this one gives the same results you found.

Code: Select all

DateOffsetByComponents(StringToDate("2013-03-31"),0,-1,0)
Maybe -1 is a special number - like, you know, i-squared. :wink:
by ray.wurlod
Tue Jun 04, 2013 12:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generic job to migrate tables from sybase to oracle
Replies: 1
Views: 1508

Last time I did one of these (different souce and target from yours) I used a sequence to run a server job that created the SELECT statement by reading the system tables, and passed the SELECT statement to the main job as a job parameter. Worked beautifully.
by ray.wurlod
Tue Jun 04, 2013 12:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue With DateoffSetByComponents Function
Replies: 10
Views: 4894

Missing right parenthesis? :lol:

I think you may have bumped into a bug. Certainly what you're doing accords with the Information Center documentation for this function.
by ray.wurlod
Tue Jun 04, 2013 12:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to solve this scenarios using Transformer
Replies: 6
Views: 1778

When is the interview?

As noted, state the (full) requirement in words. This is called a specification, and may serve a useful mind-focussing exercise - you may even be able to come up with your own best solution.