Search found 42189 matches

by chulett
Mon Feb 04, 2008 10:51 pm
Forum: General
Topic: Connecting Database using DS routine
Replies: 9
Views: 2492

Out of curiousity, why do you ask? What are you thinking about doing that you would need something like this? I have been working with the tool for quite some time and never once felt the need to do any such thing, hence the question.
by chulett
Mon Feb 04, 2008 8:46 pm
Forum: General
Topic: Connecting Database using DS routine
Replies: 9
Views: 2492

Now, that's an entirely different question - and not one to be answered in a simple post. Search the forums for "BCI" and perhaps even "SQLExecDirect" to get some idea of what road you are looking to travel down.

For example, a recent series on the subject:

http://www.dsxchange.com/viewtopic.php?t=115619
by chulett
Mon Feb 04, 2008 8:34 pm
Forum: General
Topic: Connecting Database using DS routine
Replies: 9
Views: 2492

Yes.
by chulett
Mon Feb 04, 2008 8:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problems with SQLExecDirect (again)
Replies: 37
Views: 14851

Hmmm... so is Aramis already spoken for?
by chulett
Mon Feb 04, 2008 6:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problems with SQLExecDirect (again)
Replies: 37
Views: 14851

[raises hand] Umm... I'd like to be a Musketeer. :wink:
by chulett
Mon Feb 04, 2008 4:37 pm
Forum: General
Topic: Stage Variables
Replies: 3
Views: 1462

No, not directly. But yes - if you can store the value somewhere (USERSTATUS, flat file) and then pass it to other jobs as a job parameter.
by chulett
Mon Feb 04, 2008 2:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversion
Replies: 4
Views: 928

What does your data look like coming in?
by chulett
Mon Feb 04, 2008 2:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequence generator
Replies: 2
Views: 1079

Any value you want, it is simply the key which identifies the sequence. And 'left pad' the output with zeroes to get your 8 characters:

Code: Select all

FMT("8'0'R",YourField)

One way.
by chulett
Mon Feb 04, 2008 1:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to refresh a lookup in every job iteration
Replies: 9
Views: 1851

The hashed file approach is bog standard DataStage Server stuff. Replace your two ODBC lookup stages with hashed file stages (and build something to do the initial population, if needed) and you'll be fine. As noted, make sure the hashed lookup is either not cached (my personal preference) or set to...
by chulett
Mon Feb 04, 2008 9:52 am
Forum: General
Topic: from BCP to Oracle using DataStage
Replies: 9
Views: 5125

Meaning you couldn't read the file or load the data with tabs in it? For the latter, remove them inline with EReplace or Convert:

Code: Select all

Convert(CHAR(9),"",YourField)

That will remove them from the field. For the former, we'd need more specifics.
by chulett
Mon Feb 04, 2008 8:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Bulk loading of data from source to target
Replies: 2
Views: 780

You posted this exact same question last Wednesday. Why do you feel the need to post it again? :evil:

If you have a problem with the answers posted so far, say so. In the other post.
by chulett
Mon Feb 04, 2008 8:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Field in transformer not giving desired result
Replies: 5
Views: 1396

That's not decimal but rather hexadecimal. I would imagine you should be leaving this 'message id' as a varchar as it would be a rather... large... decimal value when translated. Too large. :?
by chulett
Mon Feb 04, 2008 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning: unable to chdir(): Bad address
Replies: 4
Views: 2687

Welcome! Perhaps you should post this 'perfect' script. :wink:
by chulett
Sun Feb 03, 2008 11:44 pm
Forum: General
Topic: Unable to shutdown DataStage
Replies: 7
Views: 2372

:? As noted, a SysAdmin or System Administrator. The Root Wielders. The people in charge of your UNIX servers.