Search found 53125 matches

by ray.wurlod
Sun Jul 13, 2008 12:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data conversion tasks
Replies: 1
Views: 780

They are fairly frequent requirements. However, Convert() would not be the correct function to use, as it effects character-by-character replacement. The actual solution will depend on the data type of the input column and the output column, but will involve some combination of DateToString() and St...
by ray.wurlod
Sun Jul 13, 2008 12:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sql load per node instead of all nodes at once
Replies: 4
Views: 1785

Because the Data Set is stored on four nodes it can only be read from those four nodes, typically with the same configuration file as the one with which the data were written. You can bring the data together by forcing your Oracle Enterprise stage to execute in sequential mode, and using Sort/Merge ...
by ray.wurlod
Sun Jul 13, 2008 12:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Location of dsenv
Replies: 7
Views: 8507

Because the location of dsenv is recorded in $DSHOME and/or /.dshome.
The location does not matter; being able to find it does matter.
by ray.wurlod
Sat Jul 12, 2008 7:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Location of dsenv
Replies: 7
Views: 8507

It's just a file. Provided it is readable by all, its location should not present an issue.
by ray.wurlod
Sat Jul 12, 2008 4:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error:Converting nullable source to non nullabale in Agg
Replies: 5
Views: 1822

My guess is that the computed fields of an Aggregator stage are always nullable despite what the metadata prescribe, and that this is the source of the alert message.
by ray.wurlod
Sat Jul 12, 2008 4:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run DB2 Delete sql in a job
Replies: 6
Views: 2218

Your string pad character is set to 0x00 (its default value) but your DB2 is objecting to a fixed-length string (that is, a Char data type) being padded with this character. Explicitly pad the string with space or some other valid character, or change APT_STRING_PADCHAR.
by ray.wurlod
Sat Jul 12, 2008 4:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Changing CURRENTDATE to CURRENTTIMESTAMP through dsx
Replies: 13
Views: 4813

My thought was the CurrentTimestamp() loading into a Date field will effect an implicit conversion.
by ray.wurlod
Sat Jul 12, 2008 4:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine output to Database
Replies: 3
Views: 880

Download ETLstats from Kim Duke's web site. All that you request is already in that suite.
by ray.wurlod
Sat Jul 12, 2008 1:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: restructuring stages in datastage
Replies: 1
Views: 2324

There is a chapter on each of these stage types in the Parallel Job Developer's Guide that includes explanations and examples. Please read those then post any specific questions here. DSXchange does not purport to replace either manuals or education.
by ray.wurlod
Sat Jul 12, 2008 1:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sub columns to new columns
Replies: 1
Views: 835

Vertical pivoting (rows to columns) can be performed in DataStage using a number of techniques. Search DSXchange for "vertical pivot".
by ray.wurlod
Sat Jul 12, 2008 1:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: reading data from oracle with duplicates
Replies: 1
Views: 769

This looks like an ideal task for an Aggregator stage. You could also do it in SQL using MAX and COUNT set functions.
by ray.wurlod
Sat Jul 12, 2008 1:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IBM Information Server - call job variable in another job
Replies: 1
Views: 739

Difficult if you're using a Data Set to store the intermediate result; you'd have to use an orchadmin command via an Execute Command activity to retrieve the result. Since it's only a single row, I'd advocate using a server job and posting the count into that job's user status area, whence it can be...
by ray.wurlod
Sat Jul 12, 2008 1:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IBM Information Server - call job variable in another job
Replies: 8
Views: 2055

Difficult if you're using a Data Set to store the intermediate result; you'd have to use an orchadmin command via an Execute Command activity to retrieve the result. Since it's only a single row, I'd advocate using a server job and posting the count into that job's user status area, whence it can be...
by ray.wurlod
Fri Jul 11, 2008 9:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error:Converting nullable source to non nullabale in Agg
Replies: 5
Views: 1822

Can you please post the exact and entire error message? In particular I am interested in knowing which operator generated it. Can you also advise the setting of the "allow nulls" option in the Aggregator stage? My guess is that the computed fields of an Aggregator stage are always nullable despite w...