Search found 53125 matches

by ray.wurlod
Wed Jul 31, 2013 11:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Target Table Name in Source Column
Replies: 3
Views: 1072

For a small finite number of known table names multiple output links from a Filter or Transformer stage would serve as a solution - one link going to each of the known table names. A dynamic solution would be more difficult. Perhaps use a server container (or server job) with a Folder stage to creat...
by ray.wurlod
Wed Jul 31, 2013 9:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Money Equivalent datatype in Netezza
Replies: 2
Views: 3279

Try NUMERIC(19,4) for mapping MONEY, and REAL or FLOAT(6) for mapping REAL.
by ray.wurlod
Wed Jul 31, 2013 4:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: default value to -911
Replies: 7
Views: 2127

You cannot perform assignments in an expression. They end up being treated as Boolean expressions. So, yes, you need If IsNull(DSLink166.GEO1) Then -911 Else DSLink166.MD1 as the derivation of output column MD1. Or you could use If IsNotNull(DSLink166.GEO_1) Then DSLink166.MD1 Else -911 which is wha...
by ray.wurlod
Wed Jul 31, 2013 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Make a table update if insert into other table was succes
Replies: 1
Views: 768

Use a reject link from the Oracle connector. Perform a difference comparison between those keys that the full set that was processed (to acquire those that were successfully inserted) and use those keys to update the source table. Or perform an inner join between the source where SRC_SENT_TIME is nu...
by ray.wurlod
Wed Jul 31, 2013 4:34 pm
Forum: General
Topic: Lost changes saved in a Job DataStage.
Replies: 3
Views: 1359

Good news! nsv2143 is running 8.5 FP1
by ray.wurlod
Wed Jul 31, 2013 12:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: communication error :SQLSTATE = 40003:
Replies: 3
Views: 2348

No I'm not. The transport blocks are used when player processes need to communicate with each other, for example during re-partitioning. The ones I'm talking about govern pipeline parallelism, and have names beginning with "APT_BUFFER_". Values for some of these, such as buffering policy, ...
by ray.wurlod
Tue Jul 30, 2013 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: In which file is the Oracle database alias stored?
Replies: 6
Views: 1718

This sounds like a question for your Oracle DBA.
by ray.wurlod
Tue Jul 30, 2013 4:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to read entire data of a text col when data is huge
Replies: 5
Views: 2273

If the "Data which exceeds the maximum length got truncated" message occurred in the data browser (view data), that's a limit in the data browser only. You should ignore it.
by ray.wurlod
Tue Jul 30, 2013 4:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: default value to -911
Replies: 7
Views: 2127

If the lookup fails, then the returned value is NULL. But you have tested it with IsNotNull(), which means that successful lookups will return -911 and failed lookups will return the returned value (i.e. NULL). You needed to test using IsNull() or to reverse your logic: If IsNotNull(GEO_1) Then MD_i...
by ray.wurlod
Tue Jul 30, 2013 4:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove leading zero before decimal point
Replies: 6
Views: 2759

What happens if you add 0 to the value? As a general rule DataStage BASIC returns the shortest possible string as the result of an arithmetic operation.
by ray.wurlod
Tue Jul 30, 2013 4:28 pm
Forum: General
Topic: How to commit after procedure run
Replies: 6
Views: 1707

I guess you could encapsulate the SP in a script that included both the exec/call and the commit.
by ray.wurlod
Tue Jul 30, 2013 4:26 pm
Forum: General
Topic: Lost changes saved in a Job DataStage.
Replies: 3
Views: 1359

Don't really know, but it's probably worth re-synchronizing the project.
by ray.wurlod
Tue Jul 30, 2013 4:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove leading zero before decimal point
Replies: 6
Views: 2759

Re: Remove leading zero before decimal point

SURA wrote:Consider the data type.
There are no genuine data types in server jobs.
by ray.wurlod
Tue Jul 30, 2013 12:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove leading zero before decimal point
Replies: 6
Views: 2759

Welcome aboard. The first question is "why?" The values are identical.

You can probably apply the Fmt() function to achieve what you require - read about this function in on-line Help or in the DataStage BASIC manual.
by ray.wurlod
Mon Jul 29, 2013 4:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup_103,1: Field "ID" has keyprep export format
Replies: 11
Views: 6484

What stage type writes data onto the reference input link to the Lookup stage Lookup_103? What is the format of the ID column on that source, and what is the format of the ID column (or whatever column you have mapped to ID in the Lookup stage) on the stream input? Finally, what kind of Lookup (equa...