Search found 53125 matches

by ray.wurlod
Wed Jan 31, 2007 3:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure Stage
Replies: 6
Views: 1525

Re: Stored Procedure Stage

Izack wrote:What is the use of Stored Procedure Stage ?

To invoke a stored procedure (d'oh!) for every row processed.

You can also invoke stored procedures from the Enterprise ODBC stage, but with more restrictions.
by ray.wurlod
Wed Jan 31, 2007 3:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Nulls in Pipe delimited file
Replies: 8
Views: 2626

True. But someone had already posted that you can specify VarChar. Then all will be well. After all, there are no "real" data types in text files, only text.
by ray.wurlod
Wed Jan 31, 2007 3:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: List of DS Engine Commands
Replies: 5
Views: 2003

Ah, yes, that's be it. You can get a list of PLZs from Deutsche BundesPost. :roll:
by ray.wurlod
Wed Jan 31, 2007 3:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL1652N : File I/O error occurred
Replies: 34
Views: 16058

And I doubt that these are the ones where "single file" is being enforced.

If they are, the solution is simple. No more parallelism.

When "they" complain, the response is that it's the cost of stupidity.
by ray.wurlod
Wed Jan 31, 2007 3:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read byte by byte in DS
Replies: 3
Views: 1495

Surely this is the simplest of C functions to write?

Initialize a integer to 0, step through your string from postion 0 to len-1 taking the character value and incrementing your integer.
by ray.wurlod
Wed Jan 31, 2007 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Improving performance
Replies: 24
Views: 3968

DSguru2B wrote:A simple solution. Use a bulk loader. It drops indexes and rebuilds them after the load finishes as part of its procedure.

:!: Not true for all databases.
by ray.wurlod
Wed Jan 31, 2007 3:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL1652N : File I/O error occurred
Replies: 34
Views: 16058

There is no cure for stupidity. What you can do is write them all to the same table (or even hashed file), using a generated key. Once all the runs are done, you can dump its contents to a single text file. Or you can dump them to separate temporary text files (job parameter for its name perhaps) an...
by ray.wurlod
Wed Jan 31, 2007 3:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimal to COMP3
Replies: 18
Views: 7167

Re: COMP-3

pnetti wrote:The original code hardly makes sense.


Is that because of your unfamiliarity with the language, or do you really have a problem with the logic?

The Iconv() and Oconv() functions are perilous ground for newbies, particularly the ones that handle binary data.
by ray.wurlod
Wed Jan 31, 2007 3:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lock and unlock jobs
Replies: 20
Views: 5670

Anyone using a source code control system relies upon the fact that the DSX is checked out as the "lock" you seek. Once it's checked in again, someone else is entitled to check it out. While ever you have it checked out, it's "locked". It's easy to enforce; any violation is a sackable offence. Someo...
by ray.wurlod
Wed Jan 31, 2007 3:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NLS usage
Replies: 1
Views: 930

You must find out how the data are encoded within Oracle. You may find that the Oracle terminology is different - it may include the magic number 1252, but is unllikely to include "MS" since that would be free advertising for Bill's mob. It probably contains the word "American".
by ray.wurlod
Wed Jan 31, 2007 3:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in getting environment variable in routines...
Replies: 29
Views: 13520

Look in the "environment variables" event in the log - usually the second event posted in a job run. Are your environment variables set? Add a diagnostic call to your routine after your call to DSExecute. $DEFINE TESTING $IFDEF TESTING TestMsg = "After call to DSExecute value of UnixOutput = &q...
by ray.wurlod
Wed Jan 31, 2007 3:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Logic for extract generation
Replies: 8
Views: 1857

HashedFile HashedFile | ^ | | V | new data ----> Transformer Stage ----> DimTable (inserts) ----> FlatFile (inserts) ----> DimTable (updates) ----> FlatFile (updates) The Hashed File is pre-loaded with an image of the dimension table, but keyed on the natural key rat...
by ray.wurlod
Wed Jan 31, 2007 2:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can i inport a dll in datastage designer
Replies: 10
Views: 3728

Read the Manager Guide (page 8-17). The only external functions that can be imported are ActiveX (OLE) functions. Therefore the DLL must have been constructed as an OLE server. Exactlly how this is achieved depends on the language and the environment, and I don't profess to be an expert - the last t...
by ray.wurlod
Wed Jan 31, 2007 2:46 pm
Forum: General
Topic: Reading XML
Replies: 12
Views: 4466

I presume there's more than that - at least a closing tag for report_info?

Have you attempted to create a job that uses the XML Input stage to extract data from the XML? If so, can you describe this job - what stages are in it and how you configured the XML Input stage?
by ray.wurlod
Wed Jan 31, 2007 2:39 pm
Forum: Data Integration
Topic: SAP connectivity in Datastage EE
Replies: 2
Views: 11786

These plug-in stages are purchased separately from your vendor (the extra cost is due primarily to SAP licensing/certification charges). With them you get the usual PDF format documentation. Search the IBM web site for information about SAP connectivity, which is available both for SAP R/3 and SAP BW.