Search found 53125 matches

by ray.wurlod
Sat Jun 24, 2006 3:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inserting Into BD2 Table
Replies: 4
Views: 1097

i am just trying to figure out the scenerio where an insert by other process into the same table might be possible during the time between the look up(to find if the key already exists) and Insert (if key doesn't exist). Because we might be running more than one instances of this program on similar...
by ray.wurlod
Fri Jun 23, 2006 4:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stored Procedure
Replies: 1
Views: 815

Re: Stored Procedure

mahi_mahi wrote:But my concern is it is taking too much time for the SP to finish. Its taking more than 1 and half hour.


The problem as you describe it is not in DataStage. You need to find ways to make the SP go faster. For example, can the updates be coded to operate in parallel rather than consecutively?
by ray.wurlod
Fri Jun 23, 2006 4:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: phantom squawk - solw performance
Replies: 0
Views: 1428

PHANTOM is the DataStage command to create a background process, and SQUAWK (or REPORTING) is a keyword that notifies it to advise its parent when done - the report goes into the DSD.RUN file in &PH& folder in the project. So don't worry about these - they are the startup commands for your D...
by ray.wurlod
Fri Jun 23, 2006 4:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequencer
Replies: 10
Views: 1613

Umm... it's the Terminator that's new; the Exception Handler has been there since job sequences were introduced. Once the Exception Handler fires you can take an output from it to a routine activity that logs an appropriate message, to a notification activity that sends email, anything else you plea...
by ray.wurlod
Fri Jun 23, 2006 4:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: need shell script to run Jc with loop in file parameter
Replies: 2
Views: 772

A job sequence is merely a special case of a server job, that contains job control code. So is a batch. So is a server job that contains user-written job control code. So you can start these with a perfectly ordinary dsjob command in a shell script. Search the forum for good, robust examples of such...
by ray.wurlod
Fri Jun 23, 2006 3:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance in Extraction
Replies: 12
Views: 2670

Without ORDER BY the database server can deliver the first row as soon as it finds it. With ORDER BY the database server can not deliver any row until it has processed all rows to determine which is the first in sorted order. DataStage's clock is running the whole time that the sorting is being perf...
by ray.wurlod
Fri Jun 23, 2006 3:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Import hashed file definitions when saved in directory path
Replies: 3
Views: 781

Search the forum for a command called SETFILE for creating the VOC pointer.

Chuck Smith (search again) also has a utility available.
by ray.wurlod
Fri Jun 23, 2006 3:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to rename a category
Replies: 19
Views: 4728

It's a "Henry Ford" choice in the first release - "any database" means one of DB2, Oracle or Microsoft SQL Server.

Historical Note
You could buy a Model T Ford in any color you like, so long as it was black.
by ray.wurlod
Fri Jun 23, 2006 3:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing DB from DS routine
Replies: 6
Views: 1384

One can.

One can even probably achieve it in a generated query.

I am trying to guide the poster in that direction but, for whatever reason, there is some desire there to reinvent the wheel.

Which may lead, instead, to a triangular-shaped rock on a square axle.
by ray.wurlod
Fri Jun 23, 2006 3:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transfering data from one job to another in a sequencer
Replies: 6
Views: 1711

No, unless you're prepared to write a pair of Custom stages to manage the memory. DataStage has nothing out of the box. Using a Sequential File stage to write to a named pipe in one job and one to read from that named pipe in the other job is a possibility, but co-ordination of the jobs is crucial. ...
by ray.wurlod
Fri Jun 23, 2006 3:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: create timestamp column
Replies: 9
Views: 1978

For completeness, in DataStage you could use TimestampFromDateTime(current_date(),current_time()) to generate the timestamp. Use this expression when initializing a stage variable and do not modify the stage variable row by row, so that it is only calculated once. In this way...
by ray.wurlod
Fri Jun 23, 2006 3:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ASCII format showing some low characters
Replies: 22
Views: 5709

^@ is a representation of 0x00 (the ASCII NUL character). You could trim these, you could set APT_PAD_CHARACTER to space (" "), you could pre-process with sed or awk as DSGuru2B suggests.
by ray.wurlod
Fri Jun 23, 2006 3:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Building a dynamic parameterized DataStage process
Replies: 2
Views: 2187

I suspect you are going to need two essentially identical processes that handle 1 and 2 keys, respectively. As far as I am aware you can not use a job parameter to supply metadata, such as the name of a column or partition key. So you may need to process with a "fake" key - one that's the same for a...
by ray.wurlod
Fri Jun 23, 2006 3:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: AIX to Unisys ODBC connectivity
Replies: 1
Views: 1096

Theoretically if the Unisys ODBC drivers can be correctly configured on your AIX system you ought not need to use any other tools. Edit the .odbc.ini file so that the data source name loads the appropriate driver, ensure that any required environment variables have been set in dsenv, and that should...
by ray.wurlod
Fri Jun 23, 2006 4:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to execute dsjob -- module libvmdsapi.so missing
Replies: 5
Views: 1594

Don't forget that you will need read and execute permission.