Search found 53125 matches

by ray.wurlod
Thu Oct 28, 2004 3:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error viewing the data through squential file in the input
Replies: 1
Views: 883

This style of message usually means that the shared library search path environment variable has not been properly set. The name of this environment variable varies depending on the UNIX; it might be LD_LIBRARY_PATH, SHLIB_PATH, LIBPATH, and so on. Determine where the missing libraries are (using fi...
by ray.wurlod
Thu Oct 28, 2004 2:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Oracle Stored Procedure in Routine
Replies: 10
Views: 8077

And the other thing is, this being a sharing place, is that we share our solutions. Can you please report how you solved it?
by ray.wurlod
Thu Oct 28, 2004 2:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Stored Procedure at ODBC stage
Replies: 7
Views: 3248

And the other thing is, this being a sharing place, is that we share our solutions. Can you please report how you solved it? If you'd still like help on the stored procedure from ODBC stage (which CAN be done), please post any error messages that appeared in the job log when you tried this approach.
by ray.wurlod
Thu Oct 28, 2004 2:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: reconciliation of source data and target data
Replies: 13
Views: 7536

UniVerse has standard set operations. These are UNION, INTERSECT and DIFFERENCE.

Sorry to disappoint the Oraclers, but MINUS is Oracle only.

There are obviously two difference DIFFERENCE results, but the question ought to return 0 rows if the tables are equivalent.
by ray.wurlod
Thu Oct 28, 2004 2:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSExecute fail on special character
Replies: 3
Views: 2562

"(" has special meaning to the shell. What if you "escape" the character (precede it with a backslash), for example

Code: Select all

echo \( >> ScriptF
?
This is what you would do in UNIX if you wanted to avoid messy quote characters (for example cd \&PH\&)
by ray.wurlod
Wed Oct 27, 2004 8:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Bugs for Version 7.x
Replies: 7
Views: 2750

Bugs is overrated. Daffy had more personality, while DataStage developers should have most empathy for Wile E Coyote (the business analysts are represented by Acme Corporation). :lol:
by ray.wurlod
Wed Oct 27, 2004 8:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capturing Invocation Id
Replies: 8
Views: 2403

Can you not use expressions of the kind Sumitgali postulated in version 7.5? That is, use DSGetJobInfo(DSJ.ME, DSJ.JOBINVOCATIONID) in the derivation for the invocation ID?
by ray.wurlod
Wed Oct 27, 2004 8:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert single column records into a string
Replies: 5
Views: 1802

The easiest way to do this in DataStage is as follows.
    In a Transformer stage construct a stage variable, which accumulates the comma-delimited string.
    Run the output through a subsequent Aggregator stage, using Last as the aggregate function.
by ray.wurlod
Wed Oct 27, 2004 4:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert single column records into a string
Replies: 5
Views: 1802

Process this in UNIX, using a utility like sed to change all the line terminator characters to commas.
This leaves a blank final field, you can further process the result if this will be a problem.
It can be done in DataStage, but is easier and faster using the sed utility.
by ray.wurlod
Wed Oct 27, 2004 3:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Columns to rows - pivot stage ?
Replies: 5
Views: 2083

Search the forum for "vertical pivot" (for this is what you are seeking to do). You will find a number of techniques described.
by ray.wurlod
Wed Oct 27, 2004 3:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading columns in the target database
Replies: 1
Views: 527

Of course there is, and you do it the same way you'd do it with SQL. Insert the first batch of rows, with suitable default values for those columns to be loaded in the second pass. In the second pass, update the rows with appropriate column values, but only for the columns you need to update. In thi...
by ray.wurlod
Wed Oct 27, 2004 3:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capturing Invocation Id
Replies: 8
Views: 2403

How do you "give" the invocation ID? Surely you can simply "give" the same invocation ID to the other jobs in the sequence in exactly the same way.
by ray.wurlod
Wed Oct 27, 2004 3:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read-Write from Same hash file
Replies: 2
Views: 726

If it's already in the hashed file, it's a duplicate. Keep writing to the hashed file, so that later duplicates will be detected. To capture only the duplicates, test whether it was found. For example Not(RefInputLink.KeyCol.NOTFOUND) or Not(IsNull(RefInputLink.KeyCol)) The f...
by ray.wurlod
Wed Oct 27, 2004 3:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can not move the file
Replies: 5
Views: 1181

In the job PT05OTDisReceiptRegularLoadControlJob make sure you're trying to process E:\HLLDW\PRETEADW\Inprocess\DataFeeds\OTDISPATCHRECEIPTFEED\251004otinteb_new.csv, not E:\HLLDW\PRETEADW\Input\DataFeeds\OTDISPATCHRECEIPTFEED\251004otinteb_new.csv Feedback from your MOVE (or was it COPY?) command i...
by ray.wurlod
Wed Oct 27, 2004 3:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Moving High-Values to DB2 column
Replies: 1
Views: 842

You can generate it with Char(255). Beware, however, that DataStage treats Char(248) through Char(255) in a special way - depending on the context. These characters are what are called dynamic array delimiter characters. If you have NLS enabled, genuine characters in this range will be mapped to the...