Search found 53125 matches

by ray.wurlod
Thu Oct 14, 2004 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator O/p Data on summation
Replies: 3
Views: 1825

A following Transformer stage would seem to be the easiest. And/or a build op if you're into coding of these beasts. The build op gives you greater flexibility in handling out of range values (precision 22 may not handle all Double numbers).
by ray.wurlod
Thu Oct 14, 2004 3:40 pm
Forum: Enhancement Wish List
Topic: Data Browser Functionality
Replies: 0
Views: 1343

Data Browser Functionality

In the Find capability in the Data Browser, it would be nice to be able to find the next occurrence not equal to a value in a particular column. For example, for the current selection a column may appear to have all zeroes. I'd like to be able to find the next non-zero value, without having to speci...
by ray.wurlod
Wed Oct 13, 2004 11:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting Last Generated SK from Surrogate Key Stage
Replies: 1
Views: 1169

Welcome aboard! :D Getting the current maximum value from the database is the only totally safe way. Some advise the code-based solution you propounded; others suggest using a DataStage job to load the result in to a hashed file. The advantage of this approach is that you can have a separate record ...
by ray.wurlod
Wed Oct 13, 2004 11:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator O/p Data on summation
Replies: 3
Views: 1825

No.

(Can't get more direct than that.)
by ray.wurlod
Wed Oct 13, 2004 4:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aborting Job when a Semaphor is set
Replies: 9
Views: 2337

Of course, Michael's solution only works if DW_BATCH_CONTROL is a UniVerse table! As I noted earlier, I suspect that this would not be the case in one of Peter's implementations.
by ray.wurlod
Wed Oct 13, 2004 4:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to retreive data on a hash look up
Replies: 6
Views: 1551

Using an external editor, determine whether this particular value contains any non-printing characters, such as Esc. You (as a human) won't be able to see them, but they can cause a lookup to fail.
by ray.wurlod
Wed Oct 13, 2004 4:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to interface SAP R3 with DataStage 7x tool
Replies: 11
Views: 4902

Welcome aboard! :D The answer is to use a specialized plug-in (= optionally installed) stage that generates ABAP code and uses either RFC or FTP to get that code executed within SAP R/3. Talk to your supplier about the "SAP Extract PACK", which contains the requisite stage types. There is an additio...
by ray.wurlod
Wed Oct 13, 2004 4:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: can i have two source sequential files
Replies: 6
Views: 2377

You "solve" it by not breaking the rules. A Transformer stage can have at most one stream input link. All other inputs to a Transformer stage are reference inputs. The Sequential File stage does not support "get row by key" functionality, which is why it reports "source stage does not support refere...
by ray.wurlod
Wed Oct 13, 2004 4:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Comit transactions only when both are successful
Replies: 7
Views: 1960

It seems to work properly in the ODBC stage. :D
by ray.wurlod
Wed Oct 13, 2004 4:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aborting Job when a Semaphor is set
Replies: 9
Views: 2337

If DW_BATCH_CONTROL is a hashed file (or UniVerse table) it's really easy. I suspect it's not, however. The "least code" approach is to have a small job perform the SQL capturing the result into a text file, then "read" the text file. Sufficient would be Call DSExecute("UNIX", "he...
by ray.wurlod
Wed Oct 13, 2004 3:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic Hash File showing up as multiple small files in OS
Replies: 1
Views: 940

I agree with Ken's diagnosis; if you - or someone else - has removed the .Type30 hidden file, then DataStage has no way of knowing that the directory is supposed to be a dynamic (Type 30) hashed file. Therefore DataStage treats the directory as a directory (Type 19) file. [Type 1 requires a hidden f...
by ray.wurlod
Wed Oct 13, 2004 3:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using Folder Stage when there are multiple source files
Replies: 9
Views: 3701

Welcome aboard! :D The folder stage has a maximum of two "columns". The first gives you the file name, the second contains the file contents. You should not be trying to put these in to a single sequential file. Lose your first Sequential File stage. Pass directly through to the Transformer stage, i...
by ray.wurlod
Wed Oct 13, 2004 3:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to load a Job error message to a table
Replies: 2
Views: 737

Welcome aboard! :D Please try to use a meaningful subject; it helps when later you - or anyone else - is searching for answers. The DataStage log is already in a table. Search for RT_LOG; somewhere you will find the column definitions. Create a DataStage job to extract entries from the DataStage job...
by ray.wurlod
Wed Oct 13, 2004 3:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert 21 digits to 13 digits uniquely
Replies: 18
Views: 4004

UniChar() is only possible if NLS is enabled. Otherwise it internally invokes Char().

If your customer is still having DWord problems, get them to investigate the "string math" functions SADD, SSUB, SMUL and SDIV. Unlimited precision.
by ray.wurlod
Wed Oct 13, 2004 3:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Manually edit table definitions
Replies: 8
Views: 1824

The problem is twofold. First, it's not a file, it's a database table (called DS_METADATA) that holds table definitions. Second, the metadata for DS_METADATA are deliberately not completely defined, so that you do not have column names via which to effect an UPDATE statement. IF you knew the record ...