Search found 42189 matches

by chulett
Fri Dec 23, 2005 10:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Debugging a Routine
Replies: 2
Views: 1137

There's no debugger for routines, only for the jobs themselves. Best way I've found is to build the routine one logical 'segment' at a time and pass out the intermediate results as the Answer. Keep testing the routine and make sure each bit of logic works as desired before adding another. Lather, ri...
by chulett
Fri Dec 23, 2005 7:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ROLLBACK SEGMENT ERROR
Replies: 4
Views: 1469

We are using transaction size of 5000 but thats for commit rt? Yes, but with a great big CAVEAT. Make sure you are not using the 'Transaction Size' box on the General tab on the Input of the OCI stage, that's just there for 'backwards compatability' and to confuse people. It is ignored. Check the v...
by chulett
Thu Dec 22, 2005 8:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating Oracle table with a date lookup
Replies: 4
Views: 1862

ak77 wrote:Use the meta-data definition and just follow it through out unless if you are doing any comparison or date manipulation

And even then, most of the time. Dates in that ISO format are directly comparable without conversion to internal format.
by chulett
Thu Dec 22, 2005 8:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSJobStartDate in Stage Variable calculation
Replies: 9
Views: 5720

Sounds like familiar advice. :wink:

Interesting find. By the way - 'complete PCL'?
by chulett
Thu Dec 22, 2005 8:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: outer join two tables in seperate databases
Replies: 10
Views: 3553

Which is exactly what I meant when mentioning that the 'outer' side was held in the hashed file. So, as noted, swap it around to switch from one to the other.
by chulett
Thu Dec 22, 2005 8:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to set time out period for a job run?
Replies: 6
Views: 1504

Another option is to leverage your Enterprise Scheduler... if you have one. For example, we use Control-M to run jobs or series of jobs under our custom job control. Besides the boundries we've defined within our job control, we also have a fall back - Control-M. It is simple for it to monitor the r...
by chulett
Thu Dec 22, 2005 7:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSJobStartDate in Stage Variable calculation
Replies: 9
Views: 5720

No. A little tip, however. Something like DSJobStartDate which doesn't change over the course of the job only needs to be 'derived' once - not over and over for each row. So what I do is still use it in a Stage Variable but don't put the call in the Derivation, put the call in the Initial Value fiel...
by chulett
Wed Dec 21, 2005 9:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XLSHEET AS A SOURCEDATA
Replies: 14
Views: 3612

Hmmm... works fine for me. You could always try hovering over the link, then take the Topic number and plug it straight into the address bar yourself. See if that works more better.
by chulett
Wed Dec 21, 2005 7:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: outer join two tables in seperate databases
Replies: 10
Views: 3553

No shouting please.

Do you mean a left or a right outer join? As noted, with a hashed file holding the 'outer' side. Any hashed lookup miss will return nulls for all looked up columns. Turn it into an inner join by using a contraint to filter out the rows where the join returns nulls.
by chulett
Wed Dec 21, 2005 6:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating Oracle table with a date lookup
Replies: 4
Views: 1862

Are you using an OCI stage? Have you read the .pdf document that comes with the plug-in on how it handles dates? There's no need for User Defined SQL just to do this. You should be declaring the target field as a Date or Timestamp datatype. You should be using the 'conv' brothers to get the date int...
by chulett
Wed Dec 21, 2005 1:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS question re: Spanish characters
Replies: 13
Views: 5482

For goodness' sake! :wink:
by chulett
Wed Dec 21, 2005 12:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Filling date mark in dynamic query
Replies: 19
Views: 4081

That should be because you'be enable to option to 'automatically handle things that fail' or some such. A routine that returns a non-zero answer is considered to have failed in that regard. Either turn that option off or I believe it will only auto-check if you don't have a failure trigger - add one...
by chulett
Wed Dec 21, 2005 11:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Filling date mark in dynamic query
Replies: 19
Views: 4081

See if this post helps. There were several more - you need to search on UserStatus (one word) rather than two.