Search found 53125 matches

by ray.wurlod
Thu May 08, 2008 12:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DATA TYPE ISSUE
Replies: 6
Views: 1734

No. As I stated earlier there are no data types. You need to convert to the appropriate numeric units (for example days or seconds) and subtract those.
by ray.wurlod
Thu May 08, 2008 12:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading From DB2 Enterprise stage
Replies: 4
Views: 969

No. SQL is always sequential unless selecting from a partitioned table. I believe (without proof) that user-defined SQL is always sequential.
by ray.wurlod
Thu May 08, 2008 12:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: OLE server has failed message
Replies: 1
Views: 2247

DataStage clients invoke COM objects for communication with the server. It is somewhere within the OLE server that exposes these objects that the failure has occurred. It might be something as simple as Windows losing track of a handle, or it may be much more complex. Alas, the message itself provid...
by ray.wurlod
Thu May 08, 2008 12:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run set of jobs based on input file using loop
Replies: 7
Views: 2553

To use a job sequence create a loop that executes a large number of times and test the size of the file within the loop exiting from the loop if the file is empty. Or write a job control routine that uses an uncounted loop that exits on the same condition.
by ray.wurlod
Thu May 08, 2008 12:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DATA TYPE ISSUE
Replies: 6
Views: 1734

There are no data types in server jobs, therefore an attempt to subtract two timestamps is undefined. You need to convert them to some numeric format (for example seconds) and subtract those. In what units should C be?
by ray.wurlod
Thu May 08, 2008 12:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DELETE 22 tables
Replies: 8
Views: 1940

There's nothing in DataStage that will make this any easier. Create a script (shell script or BTEQ) to do this task.
by ray.wurlod
Wed May 07, 2008 11:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COnver Server routine to parallel
Replies: 7
Views: 1749

Why not just leave it as a server job? The startup overhead is much less, which means that the output would arrive sooner.
by ray.wurlod
Wed May 07, 2008 11:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file viewing problem
Replies: 6
Views: 4954

Final delimiter is not the same thing as the record terminator. Final delimiter is a special property in case there is an extra delimiter between the final field and the end of the line. I may have mislead you by using that word. What I meant to ask was whether the last line in the file has its own ...
by ray.wurlod
Wed May 07, 2008 7:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file viewing problem
Replies: 6
Views: 4954

Is the FINAL line properly terminated? DataStage is complaining that end of file was encountered unexpectedly.
by ray.wurlod
Wed May 07, 2008 7:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COnver Server routine to parallel
Replies: 7
Views: 1749

First problem: you need a C++ compiler, not a C compiler. Do you have one?

Second problem: have you given any thought to what happens when your command runs multiple copies in parallel? Will it work properly?
by ray.wurlod
Wed May 07, 2008 7:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job sequence -
Replies: 3
Views: 1715

Isolate the Warning messages and read them carefully. They contain everything you need to know.

Do you really need to be running in debug mode?
by ray.wurlod
Wed May 07, 2008 7:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Executable file of a DS Job
Replies: 26
Views: 17921

DataStage does NOT generate an executable file. DataStage parallel jobs generate an osh script. When the job is run, a new osh script (called the "score") is written, taking into account the currently selected configuration. The score is executed within an Orchestrate shell - not by the operating sy...
by ray.wurlod
Wed May 07, 2008 7:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using database sequence
Replies: 10
Views: 2466

The Transformer stage output link must have only one column (name). It must not output the id column. That way, name will align with the :1 parameter marker (the first parameter).
by ray.wurlod
Wed May 07, 2008 7:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To abort a job in Transformer
Replies: 3
Views: 1053

There are many ways. One is to invoke DSLogFatal() from a routine. But, if you only generate the right number of values, there is NO NEED to abort. This is definitely the preferred approach.