Search found 53125 matches

by ray.wurlod
Wed Jun 20, 2007 5:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem when importing column defination
Replies: 3
Views: 1255

Do you have Enterprise Edition? If so, import using the Orchestrate orchdbutil utility. There are known issues with OCI, and ODBC must make certain assumptions because of its own protocols.
by ray.wurlod
Wed Jun 20, 2007 5:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing db2 sql command in a routine
Replies: 11
Views: 5958

Don't you need a quit in DB2Cmd ?
by ray.wurlod
Wed Jun 20, 2007 5:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need to Find Maximum Value in a Certain Column
Replies: 9
Views: 2174

A sparse lookup is where you do a lookup against the DB2 table.

You are not doing this. You are loading a result set from executing that query into a virtual Data Set, and performing the lookups against that. This is called a normal lookup.
by ray.wurlod
Wed Jun 20, 2007 1:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: null handling error
Replies: 17
Views: 5667

Is DSLink147.xxx defined as Nullable ?
by ray.wurlod
Wed Jun 20, 2007 1:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Status=99 (Job not running)
Replies: 14
Views: 6831

Welcome aboard. :D

Clearly you have NOT "ran a job through sequencer".

Try compiling the job and running it in isolation. Then try running it from the job sequence (note: not "sequencer"). Tell us what appears in the job sequence's log.
by ray.wurlod
Wed Jun 20, 2007 1:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User-defined queries
Replies: 7
Views: 2355

Unless you are performing a sparse lookup you will always be using two virtual Data Sets for two lookups via a Lookup stage. You can see this happening in the score; each is built using a LUTCreate operator. So, if the queries are different, your second approach is probably to be preferred, as it wo...
by ray.wurlod
Wed Jun 20, 2007 1:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: folding a single record into multiple records at fixed width
Replies: 24
Views: 7203

Wait for "that was only an example, we actually have one column but multiple rows".
:wink:
by ray.wurlod
Wed Jun 20, 2007 1:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with decode stage
Replies: 8
Views: 5223

You write your own encryption/decryption code and put it on the Code tab of the Build stage.
by ray.wurlod
Wed Jun 20, 2007 1:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Different Versions of DS in Same Domain
Replies: 5
Views: 1315

It can be done, and will be handled automatically because the current version is so old. Version 5.2 runs on UniVerse, and has an "itag" of 0xace. DataStage 6.0 and later run on DataStage Engine and has an "itag" of 0xade. Version 5.2's RPC daemon listens on port #31438, while version 6.0 and later ...
by ray.wurlod
Wed Jun 20, 2007 1:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Use of Filter Commands
Replies: 7
Views: 2200

My line of thought is that CoSort sends "end of data" as soon as it's available (for speed) rather than waiting till the "cleanup" phase is done. After all, they are competing in a marketplace where fastest to return sorted result set wins. And if ALL you're doing is sorting, it's a good strategy.
by ray.wurlod
Wed Jun 20, 2007 1:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need to Find Maximum Value in a Certain Column
Replies: 9
Views: 2174

... or preload a Lookup File Set with the results of the same query. I repeat it here in case Josh edits his post to add a WHERE clause!

Code: Select all

SELECT Column_A, max(Column_B) as Column_B FROM <Table_Name> group by Column_A ;
by ray.wurlod
Wed Jun 20, 2007 1:05 am
Forum: General
Topic: Routine Triggers with Loops
Replies: 11
Views: 2433

I hope you're documenting these nuances (and keeping the generated Job Control code) for when you report the "bug" to IBM.
by ray.wurlod
Tue Jun 19, 2007 10:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FULL OUTER JOIN
Replies: 4
Views: 1348

Please post your question in a new thread. It is NOT the same, and only vaguely similar, to the question asked - and already resolved - on this thread. There is an answer, but I'll not post it here.
by ray.wurlod
Tue Jun 19, 2007 10:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with decode stage
Replies: 8
Views: 5223

Loosely, encode = zip (compress), decode = unzip (uncompress).

The Decode stage probably could be used with a command line decryption tool, but decryption is not built in to the stage - I needed to make that clear.
by ray.wurlod
Tue Jun 19, 2007 10:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SOURCE TABLE INFO OF A JOB - UNIVERSE
Replies: 5
Views: 2750

It can be retrieved, but you have to figure out (= hack) which particular fields store the user-defined INSERT and UPDATE statements in the DS_JOBOBJECTS record. Then you could use the EVAL "@RECORD<field#>" technique that has shown up occasionally here.