Search found 42189 matches

by chulett
Tue Jan 02, 2007 10:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting number of rows for Stages or Links
Replies: 3
Views: 1917

From the dsapi header file: /* Errors generated by the DataStage server */ #define DSJE_NOERROR 0 /* No error */ #define DSJE_BADHANDLE -1 /* Invalid JobHandle. */ #define DSJE_BADSTATE -2 /* Job is not in the right state (must be compiled & not running). */ #define DSJE_BADPARAM -3 /* P...
by chulett
Sun Dec 31, 2006 8:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert function in a MF job
Replies: 6
Views: 2656

guysma - Don't mark your duplicate post as 'Resolved', simply delete it. You can do that by going in to 'Edit' it and checking the delete option - as long as there haven't been any replies to it, that is.
by chulett
Fri Dec 29, 2006 8:22 pm
Forum: General
Topic: Happy New Year, 2007.
Replies: 16
Views: 6135

Tendentious? Great... you must be doing this on purpose. I don't remember the in person Wurlod being quite so obfuscatory. :wink:
by chulett
Fri Dec 29, 2006 8:17 pm
Forum: General
Topic: odbc
Replies: 41
Views: 15395

This file:

/usr/local/Ascential/DataStage/Projects/<yourprojectname>/uvodbc.config
by chulett
Fri Dec 29, 2006 8:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a way to invoke a Stored Procedure from a ctl Job ?
Replies: 2
Views: 757

Define 'control job' and explain what you hope to achieve by invoking a Stored Procedure there?
by chulett
Fri Dec 29, 2006 4:18 pm
Forum: General
Topic: odbc
Replies: 41
Views: 15395

Have a peek at the one in your specific Project you are trying to Import from. Bet it only mentions the one you see in your 'pull down menu'. :wink:
by chulett
Fri Dec 29, 2006 4:16 pm
Forum: General
Topic: Happy New Year, 2007.
Replies: 16
Views: 6135

Dang, another Wurlod Word I had to look up. :?

http://en.wikipedia.org/wiki/Prolixity
by chulett
Fri Dec 29, 2006 4:13 pm
Forum: General
Topic: odbc
Replies: 41
Views: 15395

kishoreramachandran wrote:THE file has got the following entries

THE file where? There's one in your $DSHOME directory and one in each Project, which one is this? :?
by chulett
Fri Dec 29, 2006 4:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Not able to Oper a Job
Replies: 6
Views: 2053

Not assigning 'fault' here and obviously I meant something other than that particular 'how'. I just don't see how you can say 'read my message again and follow the advice therein' when you know they couldn't read it in the first place.

My only sad little point here. :cry:
by chulett
Fri Dec 29, 2006 4:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: multiple rows from a row based on values in a field
Replies: 11
Views: 2361

There ya go... yet another approach. Treat the file as 'tilde delimited' and then bust up the second 'column' as Ray notes. :wink:
by chulett
Fri Dec 29, 2006 3:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Not able to Oper a Job
Replies: 6
Views: 2053

ray.wurlod wrote:Read my previous post again, then follow the advice therein.

How exactly? They can't see the questions in your second post nor the query you posted in the first one, I'd wager.
by chulett
Fri Dec 29, 2006 3:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: inserting very very large no records
Replies: 6
Views: 1453

Meaning you mark the job as 'Allow Multiple Instance' as noted. Since each Invocation ID you use must be unique across all running instances, why not leverage it to also control what happens in your job? In general, it could be a filename or table name or something you use to constrain a source quer...
by chulett
Fri Dec 29, 2006 11:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: inserting very very large no records
Replies: 6
Views: 1453

I'd suggest you look into a multi-instance job where the InvocationID macro is used to control the partition being loaded. Then rather than running one large job with all the associated issues with restarting that you'd have, run multiple instances instead. Errors within a single partition can be de...
by chulett
Fri Dec 29, 2006 10:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: multiple rows from a row based on values in a field
Replies: 11
Views: 2361

Yes, you need to figure out the logic needed to do that. Or are you just going to wait for someone to hand it to you on a silver platter? Perhaps one approach would be to treat each record as comma delimited and then parse the first field into two pieces around the tilde. Do you know what the maximu...
by chulett
Fri Dec 29, 2006 10:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: many records to one
Replies: 7
Views: 2020

In other words, you'll need to build a single record from the multiple incoming records yourself via concatenation in stage variables. As noted, you can search the forum for many discussions on the subject of a 'vertical pivot' which is what that would be called when you do rows to columns. Columns ...