Search found 42189 matches

by chulett
Thu Feb 10, 2005 9:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job control in a sequencer
Replies: 8
Views: 1435

What version of DataStage 7.x do you have? The ability of the sequence to trap job level errors (via the Exception stage) was only added in 7.5, from what I recall.

Before that, you need to handle it all yourself via triggers.
by chulett
Thu Feb 10, 2005 9:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job control in a sequencer
Replies: 8
Views: 1435

You need to use a Custom trigger to handle this. For Ran Ok and Warnings, use something like this in the trigger to Job2: Job1.$JobStatus = 1 Or Job1.$JobStatus = 2 Note that 'Job1' in the above trigger code is actually the Job Activity stage name that runs Job1. I'd suggest using an 'Otherwise' tri...
by chulett
Thu Feb 10, 2005 7:15 am
Forum: Site/Forum
Topic: Top 5 posters becomes top 10
Replies: 2
Views: 3336

Now they just need to change the title of it! :wink:
by chulett
Thu Feb 10, 2005 7:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Access Seq files over http
Replies: 4
Views: 1900

And just to tack on another bit of information, something I've never had to do but understand cannot be done with 'out of the box' Server is access anything over HTTP / on a URL. From what I understand, you're going to need some 3rd party help or perhaps (as you noted) RTI - which is now called the ...
by chulett
Thu Feb 10, 2005 7:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rejecting all rows which cannot be loaded in ORACLE
Replies: 21
Views: 7785

Regardless of the array size when writing to Oracle, I have noticed that DataStage will still log a warning in the log if a DBMS reject occurs (irrespective of the reject checkbox in the constraint being ticked). True, DBMS rejects are always logged... and the checkbox has nothing to do with that. ...
by chulett
Wed Feb 09, 2005 10:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 0 and 1 in constraint
Replies: 2
Views: 711

Did you follow the replies posted in your previous thread on a very similar sounding topic? :?

If you are asking (and it's hard to tell what you are asking) what does a '0' in a constraint mean, it was answered in that thread by Phil.
by chulett
Wed Feb 09, 2005 8:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rejecting all rows which cannot be loaded in ORACLE
Replies: 21
Views: 7785

In my experience, I haven't seen all that much of a performance change by bumping the array size up when writing to Oracle. Reading, yes, but writing... not really. So we leave ours at 1. It does let you know the 'real' error when there is one, but (as Ray noted) a much better approach is to ensure ...
by chulett
Wed Feb 09, 2005 8:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading Date Values
Replies: 15
Views: 5373

I declare col1 as varchar2(10) in all the stages(including oracle stage) of my Job and then I write a user defined sql, say for insertion as: insert into <table_name> (col1) values (to_date(:1,MM/DD/YYYY)). I'm not really sure why you would do this manually when the OCI stage will do the 'to_date' ...
by chulett
Tue Feb 08, 2005 10:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Source Code
Replies: 5
Views: 1169

Kim, I think you got it right. :wink:

The JobReport routine from ADN will give the OP what they are looking for based on how I read their post.
by chulett
Tue Feb 08, 2005 9:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: received signal SIGSEGV fatal erro
Replies: 1
Views: 1328

Welcome Aboard, Mr Bill. :)

A quick search of the forums here found 14 different threads which mention SIGSEGV which is a 'Segment Violation' btw. Take a scan through them and see if any of the suggestions solve your problem.

If not, post back!
by chulett
Tue Feb 08, 2005 10:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading Date Values
Replies: 15
Views: 5373

Doesn't matter what your NLS date format is when it comes to writing to Oracle with the OCI stage. If you've declared your target DATE field as a Timestamp in DataStage (which is how you should be handling it IMHO and how it looks like you are) then you need to put the date into the format that the ...
by chulett
Tue Feb 08, 2005 8:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: julian date conversion
Replies: 12
Views: 8780

Ah... sorry. Since you replied immediately after that using [] to hack up the input argument, I figured you were.
by chulett
Tue Feb 08, 2005 7:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: julian date conversion
Replies: 12
Views: 8780

A couple of quick points... On the substring issue, Ray meant using only the substring operator - which is what was implied by changming. All fine and dandy when rearranging 'normal' dates, but not appropriate for converting from Julian. Also, you *can* edit your own posts, so rather than post a cor...
by chulett
Mon Feb 07, 2005 8:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error selecting from log file RT_LOGxx
Replies: 4
Views: 1372

Welcome!

Something has corrupted the log for job number 31. Try searching the forums here for keywords like 'blink' and you'll find posts like this one. It should get you straightened out.

If not, post back. :wink:
by chulett
Mon Feb 07, 2005 8:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to capture the total no. of rows passed through a link
Replies: 11
Views: 4986

I'm curious why this "should be done in the transformer"? Do you really want to collect these stats every time a row comes through your job? This is typically done after job. If you download Kim's code, you'll see how it can be accomplished. Also, you've said you tried using DSGetLinkInfo... how exa...