Search found 251 matches

by rleishman
Wed Nov 21, 2007 3:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Upsert Vs Insert/Update
Replies: 9
Views: 5324

pravin1581 wrote: Can you please elaborate your answer , sorry I didn't get you.
There's more on upserts in thisthread
by rleishman
Wed Nov 21, 2007 1:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Commas in data value...How to fix the existing file ?
Replies: 5
Views: 1841

You can get the rows with too many commas as follows: sed -e '/\(.*,\)\{25\}/ p' -e 'd' myfile.csv > toomany.csv Replace the "25" with a number that is 1 more than the "correct" number of commas. You can get the rows with the right number of commas as follows: sed -e '/\(.*,\)\{2...
by rleishman
Tue Nov 20, 2007 8:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Upsert Vs Insert/Update
Replies: 9
Views: 5324

Even if you don't want to use the bulk loading capabilities of an Enterprise stage, there are still advantages to be had from separating your inserts and updates. If you use an UPSERT with an array size of (say) 500 with Insert set to try first, then DS will attempt to insert all 500 rows in one sta...
by rleishman
Tue Nov 20, 2007 8:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Log warnings
Replies: 2
Views: 2167

Sounds like you are reading a Packed Decimal, which - from memory - uses the first nybble to designate the sign. What datatype have you specified in the DataStage source stage? Have you retained that datatype all the way through the other stages? Have you used the correct conversion function to conv...
by rleishman
Tue Nov 20, 2007 8:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: group in the password file
Replies: 7
Views: 3191

What do you get when you type "groups" at the Unix prompt?
by rleishman
Mon Nov 19, 2007 11:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem returning @TRUE, @FALSE from Routine to Transformer
Replies: 9
Views: 7643

Also worth noting: A routine call entails a small performance overhead - possibly a context-switch - but I'm no expert. My bechmarking reveals that native BASIC functions can be executed orders of magnitude faster than routines that encapsulate the very same functions. With relatively simple logic l...
by rleishman
Mon Nov 19, 2007 8:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dynamic sql in oci stage.
Replies: 4
Views: 1548

An inferior solution (but possible) is use a user-defined SQL that calls a stored procedure, which in turn generates dynamic SQL in PL/SQL.
by rleishman
Mon Nov 19, 2007 8:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting Parameter Value into Oracle Stage forHeaderTrailer
Replies: 6
Views: 2869

If you want to see the correct syntax for using those commands, you can create a Job Sequence that does nearly - or a part of - what you want, and then view the generated code in the Jon Control of the Parameters dialog.
by rleishman
Thu Nov 15, 2007 1:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How I can get a Report which lists the status of all Jobruns
Replies: 11
Views: 5165

There are probably a couple of ways, but all of them are a bit tricky. From DataStage shell ($DSHOME/bin/dssh) you could write a SQL that joins the appropriate tables. That would require a detailed knowlege of the unpublished UniVerse table structure and an even more detailed knowlege of UniVerse. I...
by rleishman
Tue Nov 13, 2007 11:15 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: DS Hawk installation hung up at end (no error message)
Replies: 3
Views: 3038

Don't know how the OP went (a year ago!) but I had the same problem reinstalling today and this fix worked for me.
by rleishman
Tue Nov 13, 2007 11:08 pm
Forum: Information Analyzer (formerly ProfileStage)
Topic: DS Hawk installation hung up at end (no error message)
Replies: 3
Views: 3038

Don't know how the OP went (a year ago!) but I had the same problem reinstalling today and this fix worked for me.
by rleishman
Tue Nov 13, 2007 3:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I receive fatal errors from Parallel job in DS v8
Replies: 4
Views: 4673

I don't know about the DB2 stage, but the Dynamic RDBMS stage works fine with Environment Variables in Server but fails in Parallel. It seems likely to me that DB2 is the same. We raised the Dynamic RDBMS problem with IBM - demonstrating how it worked with the VIEW DATA button but not at runtime - a...
by rleishman
Mon Nov 12, 2007 3:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: I receive fatal errors from Parallel job in DS v8
Replies: 4
Views: 4673

Looks like the same problem as this thread - ie. its not translating your environment variable. As I said to other poster (who hasn't replied yet): Instead of running the job, try View Data from the DB2 stage in the designer window. There is a bug in the Dynamic RDBMS stage (at least in v whereby it...
by rleishman
Fri Nov 09, 2007 11:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NextSurrogateKey()
Replies: 18
Views: 14645

Are you trying to use NextSurrogateKey() in a Stage Variable?

If so, I don't believe that you can. You can only use it in an output link column derivation.
by rleishman
Fri Nov 09, 2007 11:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Environment Variables
Replies: 9
Views: 7834

Instead of running the job, try View Data from the DB2 stage in the designer window.

There is a bug in the Dynamic RDBMS stage (at least in v8) whereby it DOES recognise environment variables when you View Data, but does NOT when you run the job.

Possibly the same bug exists in the DB2 stage