Search found 42189 matches

by chulett
Mon Dec 18, 2006 8:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to handle sql server timestamp data type?
Replies: 4
Views: 1667

Then check with your DBA, ask them how it is normally handled. If that's the case, they can give you the sql you'd need to extract it in a readable format I would think. Otherwise it sounds like you'd have to pull out the binary field and then apply some kind of 'business rule' to decode it. For tha...
by chulett
Mon Dec 18, 2006 8:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get separate Status of a job on each run?
Replies: 7
Views: 1581

By checking that option in the Notification Activity, I assume. You'd have to write your own routine to use the various 'DSGetLog' functions to retrieve just the latest information from the log. That option in the stage does exactly what you've noted, it includes all information up to the current po...
by chulett
Mon Dec 18, 2006 7:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: find reason of rejected row
Replies: 3
Views: 1041

Are you trying to capture the reason in your job and include that in your reject link? Or are you just trying to figure it out for yourself? As noted, unless yours is a 'logical' reject, anytime Oracle (or any other database for that matter) rejects rows the reason will be logged. So, anything like ...
by chulett
Mon Dec 18, 2006 7:40 am
Forum: General
Topic: How to increase performance Tuning in Aggregator Stage
Replies: 4
Views: 3125

Let us know if you have any more questions once you try this out! First sign of success will be rows moving through the Aggregator at each 'sort break' rather than it absorbing all records, waiting, and only then starting to output records...
by chulett
Mon Dec 18, 2006 12:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to handle sql server timestamp data type?
Replies: 4
Views: 1667

The Oracle part is easy. Just need to know what kind of field you need to store it in - a DATE or a TIMESTAMP of some kind? However, the binary(8) part sounds like a 'special' storage format, unless that's normal for SQL Server? If it is 'special', do you know how to translate whatever output you ar...
by chulett
Mon Dec 18, 2006 12:43 am
Forum: General
Topic: How to increase performance Tuning in Aggregator Stage
Replies: 4
Views: 3125

Sort your incoming data to match the aggregation method. Assert that sort order in the Aggregator using the Sort and Sort Order columns on the Inputs tab. Check the online help available from inside the stage via the Help button for details on the second step. If you do those two things correctly, ...
by chulett
Mon Dec 18, 2006 12:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: initcap
Replies: 6
Views: 3906

ajith wrote:There is no initcap function in PX Transformer as such. I think you have to write a parallel routine for that.

Posted as a 'Server' question, hence my answer.
by chulett
Mon Dec 18, 2006 12:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: initcap
Replies: 6
Views: 3906

Just for you, I logged into work to get the gory details on helping you help yourself. Turns out this particular 'task' isn't listed where I pointed you, although many others are. However, going to transforms (server jobs) in the Index does turn it and its brethren up in the string sub-category. Sug...
by chulett
Mon Dec 18, 2006 12:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: initcap
Replies: 6
Views: 3906

Yes. First suggestion would be to check the BASIC section of the online Help. There's a part where it lists functions based on what kind of operation you need to do. You would have found your answer there. Direct answer is there is an OConv conversion code to do this, but I don't recall it off the t...
by chulett
Sun Dec 17, 2006 11:10 pm
Forum: General
Topic: odbc insert
Replies: 9
Views: 3991

narasimha wrote:You coudld also use Oracle NVL function...

Really? Where did anybody (other than you, that is) mention the 'O' word? :P
by chulett
Sun Dec 17, 2006 8:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Probelm triggering job via Sequence
Replies: 15
Views: 3608

Re: Probelm triggering job via Sequence

Somehow job A is waiting for few minutes before starting There really isn't any way for the Sequence job to 'delay' starting JobA unless you have activities in the Sequence job before the Job Activity stage for JobA. One situation I've seen that confuses people is if JobA has a 'before job' activit...
by chulett
Sun Dec 17, 2006 7:56 pm
Forum: General
Topic: odbc insert
Replies: 9
Views: 3991

That was Bill, or Chuck or whatever 'nom de plume' DSGuru2B is operating under today. As noted, you can do this in your SQL or in your job - your choice. Typical SQL solutions could include NVL or DECODE or COALESCE, for specific answers we would need to know your database. In the job, IsNull could ...
by chulett
Sun Dec 17, 2006 7:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error calling subroutine: DSR_JOB (Action=5)
Replies: 2
Views: 3183

Short answer is 'yes'. For a longer answer and many discussions on solutions, suggest you search for some of your error messages. For example, an 'Exact' search on Cannot open executable job file would be a good place to start, I would think.
by chulett
Sun Dec 17, 2006 7:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequencer Questions
Replies: 18
Views: 5633

Why not a routine that reads the file and set the value as Userstatus for that stage and pass as a parameter to the Looping stage. Routines don't have a UserStatus area, so can't set it for 'that stage'. It could, however, pass it back as 'Command Output' as noted earlier. I keep telling you to use...