Search found 42189 matches

by chulett
Sat Dec 12, 2009 8:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle MERGE statement
Replies: 1
Views: 799

Sure, you can use any valid SQL. Have you tried it? Had any issues?
by chulett
Fri Dec 11, 2009 4:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: insert/update into tables
Replies: 3
Views: 1236

I'd be curious if you need to roll back the entire set of transactions made up to that point or just the most recent one? And could you use a Server job for this task?
by chulett
Fri Dec 11, 2009 4:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using OS level authentication to acces Oracle
Replies: 6
Views: 4236

Ah, OK... a little light on the puzzle after discussing this with my friendly neighborhood DBA man. I understand the significance of the OPS$ prefix now and how you can create a user that is IDENTIFIED EXTERNALLY. One thing he did caution me on was the fact that he believes the application connectin...
by chulett
Fri Dec 11, 2009 1:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove hex '0D' and '0A'
Replies: 2
Views: 4322

OK, that's because there's no CR/LF pairs there but rather Field Marks. Try removing @FM from the results.
by chulett
Fri Dec 11, 2009 11:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading a CLOB data type using oracle enterprise stage
Replies: 4
Views: 3675

Hmmm... to be honest, I've done this in the OCI stage in a Server job. For PX, perhaps you could declare the field as a LongVarchar, see if that works?
by chulett
Fri Dec 11, 2009 11:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job sequnce execution
Replies: 3
Views: 1088

It's just a stage that allows one input stream to branch to one or more output streams based on a 'condition' - much like a transformer with constraints.
by chulett
Fri Dec 11, 2009 11:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading a CLOB data type using oracle enterprise stage
Replies: 4
Views: 3675

Your "select dbms_lob.substr" SQL should work fine as long as you'll never need more than 4k from the CLOB. Did it select zero rows or you didn't like the data it selected? :?
by chulett
Fri Dec 11, 2009 10:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove hex '0D' and '0A'
Replies: 2
Views: 4322

Assuming you mean the combination of those two:

Code: Select all

svCRLF = CHAR(13):CHAR(10)

Convert(svCRLF,"",YourString)
by chulett
Fri Dec 11, 2009 10:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oddities with Execute Command using an &
Replies: 10
Views: 2805

Can't say that I have as honestly I've never tried to (nor had a need to try to) spool commands into the background like that. Perhaps someone else has. If I get some free time I may experiment a little but I don't have much of that generally any more. :(
by chulett
Fri Dec 11, 2009 10:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date format - Parallel vs server
Replies: 3
Views: 1596

It is just converting it to an "Internet timestamp", an ISO one with a "T" as the delimiter and a Zulu timezone.

2009-12-11T09:16:26.000Z
by chulett
Fri Dec 11, 2009 10:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise stage won't accept date parameter
Replies: 4
Views: 1346

Try a couple of things. Declare the data type of the field in the job as a Date and let the OE stage generate the SQL. Try again with it as a Timestamp. What does that SQL look like?
by chulett
Fri Dec 11, 2009 9:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Comp-3 packed decimal
Replies: 3
Views: 1648

Have you checked yourself, they are pretty obvious from what I recall. I'm not somewhere where I can do that myself, perhaps later.