Search found 137 matches

by dougcl
Mon Aug 02, 2010 8:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Invalid Julian day in Filter Stage
Replies: 5
Views: 5324

ArndW wrote:What is the datatype of the EFFECTIVE_TIME and TO_TIME columns? Can you convert these explicitly to timestamp before the filter stage?
DataStage timestamp. All three are DS timestamp.
by dougcl
Fri Jul 30, 2010 3:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Invalid Julian day in Filter Stage
Replies: 5
Views: 5324

Fatal Error: Invalid Julian day in Filter Stage

Hi folks, Peek stage shows this data: RECORDED_TIME:2008-09-23 11:36:00 EFFECTIVE_TIME:2008-09-20 03:14:00 TO_TIME:2008-09-20 14:10:00 Filter stage with this where clause: RECORDED_TIME BETWEEN EFFECTIVE_TIME AND TO_TIME or with this where clause: RECORDED_TIME >= EFFECTIVE_TIME AND RECORDED_TIME < ...
by dougcl
Fri Jul 30, 2010 2:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Updatable lookup requires sorted keys.
Replies: 8
Views: 7199

If you select the option "multiple rows returned from link" it will work like a join stage. If you did not select that option the lookup stage will drop duplicate records based on key which in your case RefKey Oh duh. I see that. I had the drop down blank. It seems to be working now. than...
by dougcl
Fri Jul 30, 2010 12:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Updatable lookup requires sorted keys.
Replies: 8
Views: 7199

Hi guys, I am trying this idea of doing a lookup on the key, and then using a filter to apply the date logic, but I don't think the lookup is working. If the reference returns more than one row, does it operate like a join, or does it ignore the duplicates? My rowcount going in is the same as the ro...
by dougcl
Thu Jul 29, 2010 3:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Logic
Replies: 10
Views: 2485

Re: SQL Logic

kris007 wrote:And feed the output link of the LookUp Stage to a Copy Stage or Sequential file stage with path /dev/null
Does this encourage garbage collection?
by dougcl
Wed Jul 28, 2010 11:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Updatable lookup requires sorted keys.
Replies: 8
Views: 7199

Thanks for the clarification. I'm submitting a ticket to see what IBM has to say. In the meantime I think I'll try your idea of using the lookup to match the keys. Up until now, I've always had unique rows in the lookup, so I guess you're saying multiple rows from the reference link just lead to mul...
by dougcl
Wed Jul 28, 2010 4:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Updatable lookup requires sorted keys.
Replies: 8
Views: 7199

Re: Fatal Error: Updatable lookup requires sorted keys.

You can join just the StreamKey and RefKey and bring all the columns downstream into a Transformer or Filter Stage and then apply the logic StreamDate is between RefDate1 and RefDate2 That should work fine. Hi thanks. Joining the StreamKey and the RefKey requires sorting and repartitioning the stre...
by dougcl
Wed Jul 28, 2010 2:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error: Updatable lookup requires sorted keys.
Replies: 8
Views: 7199

Fatal Error: Updatable lookup requires sorted keys.

Hi folks, there are many range lookup problems posted here, so I realize I am adding to a pile, but I haven't seen this particular issue resolved so I am posting it before submitting a ticket. I have a Varchar Key and a date on the stream: StreamKey StreamDate I have the same key, and a pair of date...
by dougcl
Fri Jul 23, 2010 5:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TimestampToString Format String Requirements
Replies: 1
Views: 4661

TimestampToString Format String Requirements

Hi folks, in a transformer derivation I find that this works fine: TimestampToString(lnk_lkp_ip_flowsheet_rows.RECORDED_TIME,"%yyyy-%mm-%dd %hh:%nn:%ss") But this: TimestampToString(lnk_lkp_ip_flowsheet_rows.RECORDED_TIME,"%hh:%nn:%ss") throws the following: APT_CombinedOperatorC...
by dougcl
Thu Jul 22, 2010 11:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGINT in Director
Replies: 13
Views: 3937

Hi folks, increasing the warning limit in Director fixed the problem. Thanks to kris007 and chulett for that answer.

Thanks,
Doug
by dougcl
Wed Jul 21, 2010 5:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGINT in Director
Replies: 13
Views: 3937

Is JobMonApp running or disabled? Are you collecting performance statistics when running from Director? Not sure about the former. I'm not sure how to check this. For the latter, I do not have the jobs set to record performance data on the job properties execution tab. Regarding the problem startin...
by dougcl
Tue Jul 20, 2010 5:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Scratch Cleanup
Replies: 6
Views: 2140

Awesome. Thanks Ray. I suppose creating jobs that don't abort is an uncontroversial "best practice" :wink:
by dougcl
Tue Jul 20, 2010 5:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGINT in Director
Replies: 13
Views: 3937

Disable RCP to see whether that resolves the issue. If it does, try to discover why the additional, unspecified columns might have raised an interrupt signal. Hi, RCP is not enabled. I'm not sure that these warnings have anything to do with it. Again, the jobs run just fine when launched from Desig...
by dougcl
Tue Jul 20, 2010 1:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGINT in Director
Replies: 13
Views: 3937

Is this a Job Sequence or just a parallel job? Are you getting any warnings before you get the SIGINT error. Can you post any warnings from director log? Couple of reasons why SIGINT error occurs is when someone tries to stop the job or if the number of warnings exceed the limit mentioned in the Jo...
by dougcl
Tue Jul 20, 2010 1:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SIGINT in Director
Replies: 13
Views: 3937

anbu wrote:Search the forum with the keyword "SIGINT"
Maybe someone has a better answer?

Thanks,
Doug