Search found 42189 matches

by chulett
Tue Aug 24, 2010 9:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Function in Trf stage to drop nulls in Date column
Replies: 4
Views: 1352

Right, my answer was predicated on the fact that you specifically said you did not want to reject it. As noted, all you need is a constraint.
by chulett
Tue Aug 24, 2010 9:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate key implemetation
Replies: 2
Views: 1081

It also depends on concurrency needs - will the target table be loaded by more than one process simulateously?
by chulett
Tue Aug 24, 2010 9:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: VOC Change.
Replies: 5
Views: 1466

As noted, though, there are more... 'elegant'... ways to solve the problem rather than bouncing the server.
by chulett
Tue Aug 24, 2010 7:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing 64 Target files
Replies: 3
Views: 1410

What O/S? Talk to your SysAdmins, have them monitor the I/O on the system. Perhaps you can move your target to faster drives or they can 'adjust' some filesystem journalling options, etc.
by chulett
Tue Aug 24, 2010 7:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: value file for parameterset
Replies: 4
Views: 1664

How are you handling the nulls in your source? You'll need to either explicitly convert them to something less troublesome or use an appropriate "Null Value" string for the target column.
by chulett
Tue Aug 24, 2010 7:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Function in Trf stage to drop nulls in Date column
Replies: 4
Views: 1352

First you have to decide what exactly it is you want in the DATE field when it is null in the source - some kind of in-band "null" value like 12/31/9999 perhaps?
by chulett
Tue Aug 24, 2010 6:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run time error in DataStage Designer
Replies: 3
Views: 3612

Any kind of Windows 'automation error' like that would probably require a re-installation of the client to resolve. That would be the first thing I would try in your shoes.
by chulett
Mon Aug 23, 2010 4:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null in update where clause
Replies: 13
Views: 4686

Why not use one of their NVL functions?
by chulett
Mon Aug 23, 2010 4:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Target Load Order
Replies: 5
Views: 2964

vskr72 wrote:I am sorry for posting it in the wrong section. It is a parallel job.
No worries, we're here now. :wink:
by chulett
Mon Aug 23, 2010 4:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: text file to oracle date
Replies: 14
Views: 4573

That's not a date, that's some flavor of a timestamp. Strip the date from the time before doing the conversion, me I would use the Field() function for that. Then you get to decide how to handle the time portion when it has been provided to you. :wink:
by chulett
Mon Aug 23, 2010 1:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: VOC Change.
Replies: 5
Views: 1466

Search here for your actual error message, both the cause and the solution have been posted here in the past and it's got nothing to do with your VOC "changing".
by chulett
Mon Aug 23, 2010 1:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: text file to oracle date
Replies: 14
Views: 4573

D'oh! I fixed my typo, the one I introduced when I went back to capitalize things the way I like. Sorry about that.

That "D" format mask is special and can recognize most "Date" formats without any help from us.
by chulett
Mon Aug 23, 2010 8:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: text file to oracle date
Replies: 14
Views: 4573

Both format masks are wrong. Try:

Code: Select all

OConv(IConv(Trim(tdAdmission_From.ReferralDate),"D"),"D/YMD[4,2,2]"):' 00:00:00'
by chulett
Mon Aug 23, 2010 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help with the dscmdexport command.
Replies: 6
Views: 5583

Your host name has a space in it? :?
by chulett
Mon Aug 23, 2010 6:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null in update where clause
Replies: 13
Views: 4686

Post your SQL. Unfortunately, I don't know beans about DB2 - what is the equivalent to Oracle's NVL / "null value" function, something which allows you to specify what to convert a null value to in your SQL?

After googling around it looks like the answer is NVL or NVL2.