Search found 42189 matches

by chulett
Mon Oct 01, 2007 7:11 am
Forum: IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
Topic: Object reference not set to an instance of an object
Replies: 8
Views: 5987

Object reference not set to an instance of an object

Been revisiting the Web Services Transformer stage and thus trying to import the metadata from a new service currently in developement. The subject is the error we get when attempting to do so from the wsdl provided. Don't really get anything more useful from the error message itself. After that, I'...
by chulett
Mon Oct 01, 2007 6:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading CLOB Data
Replies: 1
Views: 970

:? I've never had a problem with that function. Some questions...

* What exact Oracle client version?
* How did you verify the 'original data' is 4000 bytes?
* Does your query 'work' in your tool of choice, Toad for example?
* How did you get both outputs into Word for these counts?
by chulett
Sun Sep 30, 2007 2:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reg: Date Dimension load
Replies: 6
Views: 1653

Stage variable - start it at 1 and increment until you hit the first day of the next quarter, where you reset it back to 1.
by chulett
Sun Sep 30, 2007 2:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Command output of ExecCommand
Replies: 24
Views: 14220

Good, one down. What did you find when you searched the forum for your new error message? It's been discussed quite a number of times...

"Controller problem: Unhandled failure"
by chulett
Sun Sep 30, 2007 8:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: maximum profit from overall branch
Replies: 11
Views: 2792

Hi friends, i cant use aggregator stage as i'm having five different branches so it'l give five branch details as i'm gouping by branch id. but i need only the branch with which is most profitable alone. And also i cant use sorting and get the first data alone as there wil be a problem if two branc...
by chulett
Sun Sep 30, 2007 8:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Command output of ExecCommand
Replies: 24
Views: 14220

Why the script returns _(underscore) when called from Datastage and not from Linux is beyond me. [sigh] Classic 'why does it work when *I* run it and not when DataStage does?' problem. I'd wager 400 Quatloos on the answer being one of our standard caveats when writing scripts not being followed - A...
by chulett
Sun Sep 30, 2007 7:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Percentage based rejectiontion handling
Replies: 2
Views: 888

Welcome Aboard. :D That's something you'll need to code in yourself and depending on when you enforce the %, you may need to know the total number of record you will be processing as well. Do you 'need' to stop things immediately when it hits 40%? Pass the total in as a parameter and check as you go...
by chulett
Sat Sep 29, 2007 5:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: calculating no of days from timestamp values
Replies: 6
Views: 1811

Re: calculating no of days from timestamp values

njgirl wrote:I have tried substacting the two dates directly, but it retuned only 0 values.

If you are referring to my first sentence, that applied strictly to your Oracle query:

Code: Select all

select completed_date, entered_date, completed_date - entered_date as cycle_time
from your_table
where whatever
by chulett
Sat Sep 29, 2007 1:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: calculating no of days from timestamp values
Replies: 6
Views: 1811

First thing, you are aware that you could simply subtract the two DATE fields when selecting them from Oracle and get the number of days that way, yes? However, it is straight-forward in DataStage as well. Rather than just hand you corrected code, let me give you a hint instead. You are on the right...
by chulett
Sat Sep 29, 2007 8:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comparing numeric and string value
Replies: 3
Views: 1178

Welcome aboard. Did you perhaps mean you get output as 'B'? :?
by chulett
Sat Sep 29, 2007 8:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: After-job routine returned error: No error
Replies: 7
Views: 2104

I am right. You really should use DSSendMail directly, not the 'Tester' version which just wrappers it. Build your own wrapper. You can ignore the 'were not mentioned' part as that's normal for sendmail. Search the forums for INTERIMSTATUS. It is a check you'll need to make in your routine to see wh...
by chulett
Sat Sep 29, 2007 7:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: After-job routine returned error: No error
Replies: 7
Views: 2104

Right. With that option unchecked, it will always run the after-job routine. Checked, it will only run when there are no errors in the job.
by chulett
Fri Sep 28, 2007 11:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS job aborts..capture status in DS
Replies: 5
Views: 1345

From $DSHOME/include/dsapi.h - /* 'jobStatus' values... */ #define DSJS_RUNNING 0 /* Job running */ #define DSJS_RUNOK 1 /* Job finished a normal run with no warnings */ #define DSJS_RUNWARN 2 /* Job finished a normal run with warnings */ #define DSJS_RUNFAILED 3 /* Job finished a normal run with a ...
by chulett
Fri Sep 28, 2007 7:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Char40 to Char10
Replies: 3
Views: 1328

Stop letting the database truncate the data for you, do it yourself in the job. Substring off only the first 10 characters and move that into the smaller field.
by chulett
Fri Sep 28, 2007 7:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating Hash Files in a remote directory
Replies: 7
Views: 2568

I don't know why you'd need to call a function like this directly. Why not explain what exactly it is you are trying to accomplish and what issues seem to be standing in your way?