Search found 42189 matches

by chulett
Wed Aug 08, 2012 5:49 pm
Forum: General
Topic: EXECSH at the end of a job called by a sequence
Replies: 21
Views: 6889

Exactly. This is a classic 'problem' because the command itself is not failing, it ran properly. It has no clue the sqplus session you called within the command failed either as sqlplus itself ran fine. It's just that pesky SQL statement you ran via sqlplus that didn't work quite as well as you hope...
by chulett
Wed Aug 08, 2012 11:17 am
Forum: General
Topic: getting execute command stage output
Replies: 13
Views: 17511

Can you not look up the syntax? Off the top of my head, it would be:

Convert(YourField,@FM,",")

But the arguments might be in the wrong order.
by chulett
Wed Aug 08, 2012 10:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Integer to Date
Replies: 6
Views: 2694

In my humble opinion, you do not want to match the "default date format". Rather, use the TO_DATE() function in your insert SQL, which will always work regardless of default format. TO_DATE(YourColumn,'YYYY-MM-DD') Would work for the "2007-11-08" example posted earlier. The OCI s...
by chulett
Wed Aug 08, 2012 10:33 am
Forum: General
Topic: getting execute command stage output
Replies: 13
Views: 17511

Still not enough information. What format are they listed in your file? What format do you need them in the parameter? You are making us guess, which is never good. Here's mine! You have them in a file like this: 111111 222222 333333 And you need them in the parameter like this: 111111,222222,333333...
by chulett
Wed Aug 08, 2012 7:17 am
Forum: General
Topic: Job is not in the right state (compiled and not running)
Replies: 60
Views: 17247

Understood. It's just that that is such a buggy version that no-one should still be running it. :(
by chulett
Wed Aug 08, 2012 7:15 am
Forum: IBM QualityStage
Topic: Indian Rule Sets
Replies: 3
Views: 2461

Why post this in the TX forum? :?

Moved to the QS forum as I'm assuming that is the product you are asking about. If not, please clarify.
by chulett
Wed Aug 08, 2012 7:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Connector _Before SQL section:Insert issue
Replies: 2
Views: 1174

If by "results are working fine" you mean you know the inserted records are being used by the select, then I suspect the records are rolling back. Perhaps a commit is in order?
by chulett
Wed Aug 08, 2012 7:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading two or more files in a single job run
Replies: 7
Views: 2218

There are 'issues' with the Folder stage as it was built for XML processing and passes in the file contents in one lump. You could leverage the Filter option in the Sequential File stage to 'type' those files to standard out using a wildcard pattern.
by chulett
Wed Aug 08, 2012 6:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extract substring
Replies: 10
Views: 5121

DSRajesh wrote:I need to pick the all the character before '-' in the string.
Which doesn't match your example and the original question. Did you actually mean after the "_"?
by chulett
Wed Aug 08, 2012 6:55 am
Forum: General
Topic: Job is not in the right state (compiled and not running)
Replies: 60
Views: 17247

Errr... three pages to get to the fact that you are running an old, unpatched, known to be generally buggy version that you also feel has a known issue with MI jobs? We could have wrapped this up on the first page with that information. Patch. Upgrade. Involve support. Something other than continue ...
by chulett
Wed Aug 08, 2012 6:48 am
Forum: General
Topic: columns of 1st sequencer to parameters in next linked seq.
Replies: 7
Views: 1801

That's an option for Parameter Sets. Read about them in the Designer Client Guide pdf, Chapter 5, 'Creating a Parameter Set' section. It is also mentioned in the Parallel Job Tutorial pdf and probably other places as well.
by chulett
Wed Aug 08, 2012 6:37 am
Forum: General
Topic: Disabling and Enabling the index ,Db is sql server 2008
Replies: 6
Views: 1598

... never mind that you said you need to "disable" them rather than drop them. Not quite the same thing. :wink: Regardless of how you do this, you'd also have to ensure that your connection account has the privleges needed to perform that operation. Typically, one wouldn't. We have a store...
by chulett
Wed Aug 08, 2012 6:32 am
Forum: General
Topic: getting execute command stage output
Replies: 13
Views: 17511

I've been wondering... perhaps we don't understand what "all at once" means. You use Field() to get them one at a time, using that with a proper 4th argument would be the same as simply taking $CommandOutput as a string. I'm guessing that's not really what you want. :?
by chulett
Tue Aug 07, 2012 9:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partital Data Load
Replies: 11
Views: 5522

How have you been answering this question in all those interviews?
by chulett
Tue Aug 07, 2012 9:29 pm
Forum: General
Topic: Skip Jobs in Sequencer
Replies: 5
Views: 1924

No, you cannot skip tasks unless (as you mentioned) you have enabled checkpoints, you are restarting and those tasks were successful - and then it's automatic. Would be nice if you could simply 'Disable' a task or execute individual tasks ala Informatica but sadly one cannot.