Search found 42189 matches

by chulett
Thu Sep 09, 2004 1:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: using shell Script to access Stored Proc
Replies: 13
Views: 4226

Me, I'd do one of two things: * Ditch the "sysdate" parameter and just generate it inside the procedure, unless there are times when something else is passed in other than the current date / time. * Dump the procedure and do the equivalent in DataStage, which is what Kim suggested. Writing something...
by chulett
Thu Sep 09, 2004 1:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Determine which link activated a sequencer
Replies: 2
Views: 623

I don't believe so... or at least I've never found an automated way to do that. :? Perhaps some kind of routine to farm through the logs?

About the only thing I could add is the last job status dump you find in the email (assuming you include that) is from the one that had a problem.
by chulett
Thu Sep 09, 2004 9:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: using shell Script to access Stored Proc
Replies: 13
Views: 4226

Jamesvanam wrote:the syntax I've used is {call procedure log_process(arguments)}

The syntax is simply "call log_process(arguments)".
by chulett
Thu Sep 09, 2004 9:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Validating Dates from a source file
Replies: 6
Views: 2079

HSBCdev wrote:I used the oconv(ColName,"D4-YMD") check

Use Iconv instead first and check the status. Only do the Oconv if the first step completes successfully.
by chulett
Thu Sep 09, 2004 9:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Validating Dates from a source file
Replies: 6
Views: 2079

As Kim mentions, set them up as a character string and then use iconv to try and convert them to internal format. Check the success of the conversion using the STATUS function. An example of doing this is fully documented in the online help for the Status function. I've found it's best to do this in...
by chulett
Thu Sep 09, 2004 7:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Strange behavior with parameters
Replies: 4
Views: 1309

Welcome to the Why The Heck Doesn't This Work Club! Many members have joined before you, so don't feel alone. This is a bug. As you noted, it translates the Parameters for the log entry but fails to do the same when it actually executes the command! There are rumors that it actually does work on one...
by chulett
Thu Sep 09, 2004 7:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: using shell Script to access Stored Proc
Replies: 13
Views: 4226

Actually I was wondering if there is a way to invoke a stored Proc from after SQL tab in the target OCI9stage. I'd be using the IN params from the JOB. Sure, simply "call" the procedure in the Before or After SQL tab. Not sure about the use of Job Parameters at the same time, give that a shot and l...
by chulett
Thu Sep 09, 2004 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Error Not a group by Expression
Replies: 8
Views: 3173

Fully Generated SQL should be avoided at all costs, IMHO. 'Quirky' is only one label for it. It is slow, in some cases generates bad SQL and you need to rebuild the entire thing (from scratch, unless they've fixed that) to change anything about the query. Yerk. Column Generated has no quirks from w...
by chulett
Wed Sep 08, 2004 9:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle Error Not a group by Expression
Replies: 8
Views: 3173

There's nothing wrong with your SQL as posted. :? There are... issues with the View Data option.

What happens when you run the job? Also - I'm assuming you are using the Fully Generated SQL option, what happens when you try the same thing using Column Generated?
by chulett
Mon Sep 06, 2004 7:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Connection Issues
Replies: 5
Views: 3167

For Problem #2 - have you verified that you have an Oracle client installed on and have Oracle connectivity from the new server from outside of DataStage? If you can 'tnsping' or get to your target databases from something like SQL*Plus from it, that would narrow down the problem to an issue with Da...
by chulett
Sat Sep 04, 2004 11:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: need Help, how to work with Lotus Notes..
Replies: 3
Views: 934

True... and there are other options from the Notes side as well. I was involved in a project where the Notes database 'pushed' its data over into an Oracle staging table for me. First via something called 'Notes Pump' which was later replaced with something 'more better', I believe they were using J...
by chulett
Sat Sep 04, 2004 11:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: need Help, how to work with Lotus Notes..
Replies: 3
Views: 934

Search is your friend. :wink:

Here is one topic where Notes connectivity is discussed... there were a few more as well.
by chulett
Sat Sep 04, 2004 8:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Controler problem
Replies: 4
Views: 2400

I wonder if it is a bug in datastage. Or maybe the way I'm using the routine activity stage is wrong. Neither, more than likely. What does your routine actually do? More importantly, what kind of value or possible values does it return? What you need to understand is what happens when you add outpu...
by chulett
Fri Sep 03, 2004 5:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA - 12154 Error TNS could not resolve service name
Replies: 4
Views: 1475

Double-check which ones you've hooked up to what. I've seen something like this when, say, the userid parameter is sent to the DNS parameter or something similar. If you go the the job's log after it fails and look for the entry that details all of the current run's parameter values, do they look fi...
by chulett
Fri Sep 03, 2004 4:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA - 12154 Error TNS could not resolve service name
Replies: 4
Views: 1475

If the job runs fine standalone but not via the Sequencer, I would guess you're not passing job parameters correctly. Are you using job parameters for Oracle connection (DSN, User, Password) and passing them to the job from the Sequencer?