Search found 53125 matches

by ray.wurlod
Wed Mar 12, 2008 1:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: User defined sql in DB2 API Stage
Replies: 4
Views: 2159

Not really enough information. However, the problem is that one of your SQL statements in your job contains a number of parameter markers that is different from the number of columns defined on that link. You must find out where that is, and fix it.
by ray.wurlod
Wed Mar 12, 2008 1:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator Stage
Replies: 6
Views: 1452

Remove Duplicates stage gives the capability to preserve the first or last in each group.
by ray.wurlod
Wed Mar 12, 2008 1:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: types of errors
Replies: 3
Views: 1241

Start with the main one, which occurs between the keyboard and the chair.
by ray.wurlod
Wed Mar 12, 2008 1:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Having Same Column name twice in target DB stage
Replies: 7
Views: 1764

Yes, basically what we described. However, for that to work from generated SQL your table will need a SYNONYM defined for the column that has to appear twice. This is one of those cases where user-defined SQL is an easier answer.
by ray.wurlod
Wed Mar 12, 2008 12:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage XE
Replies: 7
Views: 5149

Not "I came across a whitepaper", but please provide a link to the white paper. Otherwise we can't confirm what you claim. XE stands for "extended edition" (if you like "with the lot"). If you search here you should find a post where Vince McBurney explained the various editions - or it may be in on...
by ray.wurlod
Tue Mar 11, 2008 9:40 pm
Forum: General
Topic: Invalid characters found warning: NLS issue
Replies: 4
Views: 2968

DataStage UTF-8 map and NLS_LANG setting American_America.UTF8 should be compatible. Can you check that there's an entry in the compatability file (I've gone blank on the name of this file!). Apart from that, check whether you need LANG_C also to be set, and/or try creating NLS_LANG in Adminstrator ...
by ray.wurlod
Tue Mar 11, 2008 8:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Finding the number of leading zeros
Replies: 5
Views: 1380

I think so. Len() is probably the most efficient function in DataStage, because the length of a (variable length) string is stored as that string's prefix. You find the length even before you find the string!
by ray.wurlod
Tue Mar 11, 2008 8:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Where the job paramters stored in the unverse
Replies: 7
Views: 1468

Only earlier as far as version 5.0 - it's a different structure earlier than that. Version 8.x it's different again. Further, some of the things I referred to above are stored in RT_CONFIGnnn.
by ray.wurlod
Tue Mar 11, 2008 8:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to "YYYY-MM-DD HH:MM:SS" add ########## second
Replies: 2
Views: 1246

In server edition dates are stored as days since 1967-12-31, and times as seconds since midnight. You need to tear apart your timestamp into date and time portions, and convert your increment into days and seconds. svStartDay = Iconv(Field(InLink.TheTimestamp, " ", 1, 1),"...
by ray.wurlod
Tue Mar 11, 2008 8:25 pm
Forum: General
Topic: Invalid characters found warning: NLS issue
Replies: 4
Views: 2968

What is the value of the NLS_LANG environment variable (used by Oracle)?
by ray.wurlod
Tue Mar 11, 2008 6:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import Jobs
Replies: 11
Views: 2359

A better fit is to download the UniVerse 9.6 documentation.

UniVerse 9.6 is the last release actually to have been used as the DataStage engine. There are things in UniVerse 10 that are not in DataStage.
by ray.wurlod
Tue Mar 11, 2008 6:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Finding the number of leading zeros
Replies: 5
Views: 1380

In my experience nearly all "unique requirements" of this nature are best solved with a custom routine. However, what you need can be done with (for example) stage variable expressions. To get the location of the first non-zero character, trim the leading zeroes and subtract the length of that from ...
by ray.wurlod
Tue Mar 11, 2008 6:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reject records with referential integrity constraint
Replies: 14
Views: 5154

Prevention. Verify within your job stream that no referential integrity issues occur.
by ray.wurlod
Tue Mar 11, 2008 5:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Link Count
Replies: 22
Views: 6577

If you can't get exact counts, how do you know that the counts you are getting are not the correct ones?!!

You can use the API or dsjob after the job has completed to get link row counts. But this uses the same mechanism that DSJobReport uses.