Search found 15603 matches

by ArndW
Tue Jan 08, 2008 3:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup through a DB2 UDB stage fails
Replies: 9
Views: 2551

I had to go back and check because I was certain that the DB2 stage had sparse and normal lookups. It does, but only the DB2 Enterprise stage. Do you have that stage available?

Oh, one other thing. If one of your keys is nullable and contains a null value, the lookup will fail.
by ArndW
Tue Jan 08, 2008 3:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Ulimit problem
Replies: 19
Views: 6268

Strange. Did you restart DataStage as root or as your dsadm user? Also, check your $DSHOME/dsenv file to see if it contains a ulimit command.
by ArndW
Mon Jan 07, 2008 12:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: two decimal places
Replies: 3
Views: 1190

I am confused from your post if you are looking to truncate to 2 decimal places while converting from float to integer or converting the string. The first could be done by math, i.e. INT(In.Col*100)/100; the latter by In.Col[1,INDEX(In.Col,'.',1)+2]
by ArndW
Mon Jan 07, 2008 11:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rolllike function
Replies: 4
Views: 876

arsh14, welcome to DSXchange. I am not familiar with the rolllike function and can guess at what you wish to do but cannot be certain. Perhaps you could explain the logic in text form and you will probably get more accurate and quicker responses to your question.
by ArndW
Mon Jan 07, 2008 11:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Will Not Compile
Replies: 2
Views: 1551

Hello and welcome to DSXchange!

The part of your error message that reads
...Error when checking composite operator: cxx -O -...
should point you in the correct direction - your c++ compiler is not installed correctly.
by ArndW
Mon Jan 07, 2008 11:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: searching parameter value within all DS jobs
Replies: 9
Views: 2174

Would you be looking for the default value in the job definition or the historical values actually used at runtime?
by ArndW
Mon Jan 07, 2008 11:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null and Spaces in a field
Replies: 2
Views: 728

I am working with columns containing similar values. In my case, I added a filter of "tr '/000' '?'" to replace the 0x000 nulls with question marks in the string.

n.b. 0x000 is NUL, not an SQL NULL!
by ArndW
Mon Jan 07, 2008 10:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup through a DB2 UDB stage fails
Replies: 9
Views: 2551

Can you change the lookup to a sparse lookup, that way you will get SQL generated by DataStage. If that fails, then copy the SQL into your DB2 query tool and plug in some actual data values to see if the lookup fails there as well.
by ArndW
Mon Jan 07, 2008 9:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to genarate keygenarate next value from the given format
Replies: 5
Views: 1403

Do

Code: Select all

FMT(Your.Column,"10'0'R")
. Is that clear enough?
by ArndW
Mon Jan 07, 2008 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Linkname.NOTFOUND
Replies: 3
Views: 1376

In parallel jobs you can use two basic methods: a) cause failed lookups to go to a reject link, then process those rows accordingly b) all columns returned on failed lookupwill be null if "continue" is set. If the column is not nullable the default value is assigned. In a subsequent transform stage ...
by ArndW
Mon Jan 07, 2008 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Refernce lookup
Replies: 7
Views: 2795

If you want to get the duplicates, I think you will need to use a UV stage (or ODBC) to return all those duplicates instead of using a hashed file type stage.
by ArndW
Mon Jan 07, 2008 6:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Refernce lookup
Replies: 7
Views: 2795

The first thing you need to do is figure out what you want to do. Which of the 10 returned records do you wish to use? Will any of the rows suffice? Do you wish to work on all 10 records?
by ArndW
Mon Jan 07, 2008 6:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Ulimit problem
Replies: 19
Views: 6268

please re-read my post. I think it is the "root" user causing the issue. If a process has ulimits and spawns another, then the new one cannot have a higher ulimit (even if the settings are unlimited) than the parent.
by ArndW
Mon Jan 07, 2008 5:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to catalog DSServer and DB2 present on other server
Replies: 3
Views: 672

set up DB2 on the server which is running DataStage so that you can issue "DB2 connect ..." to the DB2 instance. Once you can do that, you will be able to do the same thing from DataStage.
by ArndW
Mon Jan 07, 2008 5:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Bad trailing quote character
Replies: 8
Views: 3792

Yet your error message shows that you are converting this string to an integer in your sequential file stage (which one - you have 3 of them in your flows). On the 1st sequential write stage did you change the default file settings, particularly the quote characters and attributes?