Search found 53125 matches

by ray.wurlod
Thu Sep 16, 2004 2:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Converting String field to Time field
Replies: 15
Views: 3669

So what do you want to see? More to the point, what is DB2 expecting? 2 is interpreted as 00:00:02 in time context which, when converted to internal format, is 2 seconds after midnight. 258 is interpreted as 00:02:58 in time contect which, when converted to internal format, is 178 seconds after midn...
by ray.wurlod
Thu Sep 16, 2004 1:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage for dummies
Replies: 9
Views: 5523

Much of such a book has been written. Ascential placed too many legal obstacles in the path of its publication. :cry:
by ray.wurlod
Thu Sep 16, 2004 1:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Maximum() Function
Replies: 5
Views: 1330

The Maximum() function that Cameron referred to is to find the largest element in a dynamic array. It is not suited to the requested purpose of finding the maximum value in a column over N rows.

I'd prefer to grab it from source if that were possible, using MAX(colname) in SQL.
by ray.wurlod
Thu Sep 16, 2004 1:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Perform Export From Command Line
Replies: 2
Views: 971

The dscmdexport command is issued on the client, not on the server.
by ray.wurlod
Thu Sep 16, 2004 1:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: calculating MEDIAN (instead of AVERAGE)
Replies: 6
Views: 3753

You also need to make some decision about how to handle NULL if it is possible that one may occur. Basically, you have to omit any NULL from the calculation.
by ray.wurlod
Thu Sep 16, 2004 1:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clear Log in director option hanging
Replies: 13
Views: 4530

Let the log purge finish. Yes, it can take a long time. I've just waited almost an hour to purge 6 million events (though the system was heavily loaded at the time). Even if you kill processes (definitely a last resort), that doesn't release the locks that they hold. Indeed, using kill -9 doesn't gi...
by ray.wurlod
Thu Sep 16, 2004 12:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI truncated Date
Replies: 11
Views: 3289

Here we're having no problem with NUMBER(38) in the Dynamic Relational Stage with access method set to "Oracle" (which uses OCI software). Datatage 7.1, in case anyone's interested.
by ray.wurlod
Thu Sep 16, 2004 12:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Field function
Replies: 10
Views: 2390

Nice catch. I couldn't see the dot because of the tiny font (would you believe)?
by ray.wurlod
Wed Sep 15, 2004 4:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clear Log in director option hanging
Replies: 13
Views: 4530

I doubt that it's really hanging, I suspect that you're being too impatient waiting for the millions of records in the log to be sorted for presentation! You can view the log using SQL and will get quick but meaningless report. It's meaningless because it's not sorted in time order. To get a meaning...
by ray.wurlod
Wed Sep 15, 2004 4:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: C Stage PlugIn function "Run" required
Replies: 3
Views: 1295

It suggests that the Run method of the CoSort stage could not be found, probably because it had not been registered. I believe you need to re-install the CoSort stage after upgrading to version 7, so that the method functions can be re-registered. Run is the only one for normal operation, but there ...
by ray.wurlod
Wed Sep 15, 2004 4:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Track Last Date Processed
Replies: 4
Views: 972

Quite simply the only reliable way to do this is to have the DataStage job record when it writes is some persistent store - a table of some kind that can be updated is best. The next run can interrogate this previous date.
by ray.wurlod
Wed Sep 15, 2004 4:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Field function
Replies: 10
Views: 2390

... but definitely do-able. The fourth field is the one between the third and fourth occurrence of the delimiter. You need two Index() functions. TheString[Index(TheString,"v.",3)+1,Index(TheString,"v.",4)-1] This is not a complete solution, as it does not handle ...
by ray.wurlod
Wed Sep 15, 2004 4:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hash lookup in a range
Replies: 3
Views: 1310

If you can "math the range" down to a constant for each possible range, then you can look up this constant as the key value in the hashed file.

If you can't, then you can't.

Contemplate how you might build the math, and therefore how you might populate the hashed file.
by ray.wurlod
Wed Sep 15, 2004 4:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help on DS on Solaris.
Replies: 3
Views: 1252

Welcome aboard! :D There IS some setting up to do. Add database-specific environment variable settings to the dsenv script in the DataStage Engine directory. If you want ODBC access, you will also need to edit the .odbc.ini file, and the uvodbc.config file in the project from which access is require...
by ray.wurlod
Wed Sep 15, 2004 4:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: New Unix User cannot login to server
Replies: 6
Views: 2176

The group dsadm is nothing special for DataStage. Only the user dsadm has any special meaning. The new user needs to belong to a group that has write permission to appropriate objects in the project, and to some in the DataStage Engine (UV) account, such as DS_LICENSE. In general DataStage users nee...