Search found 9 matches

by Hongqing
Thu Mar 10, 2005 3:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Add a number of days to a Date in PX job
Replies: 3
Views: 2593

Add a number of days to a Date in PX job

In a PX job, I am trying to add a number (days) to a date and come up with a new date. For example, I want to add 185 day to date 2003-05-24 and come up with a new date. Can any one help? :idea:

Thanks in advance.
by Hongqing
Wed Nov 24, 2004 11:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Failed a keylookup for record
Replies: 5
Views: 3695

This porblem has been resolved. It turns out that we played with the partition of the lookup file set and that caused the cause the code it's looking up for missing from the partition and failed the lookup. Basically, the safe way is not to parttition the lookup file set if you do not have to.
by Hongqing
Wed Nov 24, 2004 10:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Failed a keylookup for record
Replies: 5
Views: 3695

Because the log msg. says "50% processed". I added the peek as you suggested. The job finished processing total of 1008 records with 231 rejected. The rejected records all have the code "O". I checked the lookup file set and it does contain "O" there. Do not know why th...
by Hongqing
Tue Nov 23, 2004 6:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Failed a keylookup for record
Replies: 5
Views: 3695

Failed a keylookup for record

I have a foreign key lookup parallel job. I use the lookup file set to lookup for keys. However, the lookup failed after processing up to 50%. I got the massege: Failed a keylookup for record. Then it gives another msg: Operator's runLocally() failed. Anyone out there have any idea what could cause ...
by Hongqing
Wed Nov 10, 2004 10:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup stage's Key Expression is greyed out
Replies: 4
Views: 3318

I have done all of that, however, we still need to define a join in the lookup stage to specify the join in the lookup on the keys defined in the lookup file set and the main stream, right? I could not create this key expression there. Help please! My understanding ... You have to definie the Key wh...
by Hongqing
Mon Nov 08, 2004 10:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup stage's Key Expression is greyed out
Replies: 4
Views: 3318

Yes, I have declared a key in the LookupFileSet and a key in the main flow stream. I can see the key field is bold, but the the key exression next to it was greyed out. When I right click there, the option "create key expression" or something like that was also greyed out. I still can not ...
by Hongqing
Fri Nov 05, 2004 11:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup stage's Key Expression is greyed out
Replies: 4
Views: 3318

Lookup stage's Key Expression is greyed out

I use a Lookup stage to lookup from a Lookup File Set Stage. When I opened up the Lookup Stage, I found that the "Key Expression" for the key field of the lookup file set is greyed out. It's not giving me any error msg. and the job passed the compile. Why is it greyed out? Do not we have t...
by Hongqing
Fri Oct 22, 2004 10:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Load CLOB
Replies: 2
Views: 1851

Load Mode

Hi, I looked into the ORAOCI Bulk Load and Oracle Express Load. Under Load Mode or Load Action, I did not see "Upsert" selection there. Can you set this up in DataStage? Thanks. the only solution about this problem is : using Upsert mode Loading in Oracle Table and perform function to_clob...
by Hongqing
Fri Oct 22, 2004 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORAOCI Bulk load upsert?
Replies: 1
Views: 1709

ORAOCI Bulk load upsert?

We are going to use the ORAOCI bulk load to load the sequencial files. In the file there will be some records to be inserted and some records to be updated. We will provide the flag for insert or update in the input file if needed. My question is: for the ORAOCI stage in the DataStage, is it doing i...