Search found 6797 matches

by DSguru2B
Tue Mar 13, 2007 7:09 am
Forum: General
Topic: Calculating top vaues
Replies: 33
Views: 8467

Wow, to many nested quotes. Anywho... How is your data coming in. Its not hard to line them up. You can do it at the unix level using awk or in datastage. Line them up, get the percentage value to find out how many positions come under top 10% and get those many items. Its a few lines of code added ...
by DSguru2B
Tue Mar 13, 2007 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 1403 Oracle Error -Upsert
Replies: 9
Views: 11337

Yea but demand for a patch. Why use DRS stage when oracle enterprise stage is there for the very same reason.
by DSguru2B
Tue Mar 13, 2007 7:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trim trailing characters
Replies: 7
Views: 1089

ray.wurlod wrote:Which is exactly how Field() works.

Hmm, did'nt know that. But makes sense. So it is safe to say that Field() is equivalent to INDEX() with substring, in efficiency?
by DSguru2B
Tue Mar 13, 2007 6:56 am
Forum: General
Topic: Median Calculation
Replies: 36
Views: 10179

Why +2 and +3 is given in Ans. Can I pass a file of values as a argument to the Function? I am unable to understand the SQL of getCMD. Welcome Aboard pravin1581 In order to calculate median, I had to get the entries sorted as they might not be sorted while coming in. I did not know how to sort the ...
by DSguru2B
Tue Mar 13, 2007 6:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error in log
Replies: 6
Views: 1727

I had the same enthusiastic reaction. But no cigar from the OP :(
by DSguru2B
Tue Mar 13, 2007 6:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversation
Replies: 17
Views: 4580

Re: Date conversation

srini.dw wrote:2. select TO_DATE(TO_CHAR(TO_NUMBER(TO_CHAR(SYSDATE,'MM'))-1)||'/01/'||TO_CHAR(SYSDATE,'YYYY'),'MM
/DD/YYYY') from dual;


This query will break every time its run in January.
by DSguru2B
Tue Mar 13, 2007 6:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trim trailing characters
Replies: 7
Views: 1089

Simple ,yes ; efficient, I dont know about that. I belive, using INDEX() to get the position of "(" and use it in substring ([1,x]) where x will be the position returned by INDEX().
by DSguru2B
Tue Mar 13, 2007 6:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: server shared container in parallel job
Replies: 5
Views: 2083

The biggest restriction, IMHO, is the fact that the job will operate in sequential. Synonymous to putting a shelby in a city where road speed limit is 25 mph.
Incorporate the functionality in a px shared container.
by DSguru2B
Tue Mar 13, 2007 6:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cascading Lookups
Replies: 5
Views: 1281

:oops: I did not realize this post was not to be answered to.
by DSguru2B
Tue Mar 13, 2007 6:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Control Process Failed
Replies: 61
Views: 15996

kumar_s wrote:Ok, does any of the existing JobSequence running in that server without error?

That was another question on my head. Is any sequence in this environment working at all? We are a few posts short of 5 pages and still shooting in the dark.
by DSguru2B
Tue Mar 13, 2007 6:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cascading Lookups
Replies: 5
Views: 1281

I think it is possible but you will see the key in red. I would rather do it in two transformers. Test it out and let us know.
by DSguru2B
Mon Mar 12, 2007 4:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Freeze..
Replies: 17
Views: 3540

No my friend, it will do simultaneous reads from all of your source hashed files and load to a single hashed file.
How did you fix your problem? What was the issue?
by DSguru2B
Mon Mar 12, 2007 4:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Strange Fatal Error
Replies: 2
Views: 1513

Re: Strange Fatal Error

Lookup_32,0: Could not open table file "/ascential/datastage/70/d02/DataStage/Datasets/lookuptable.20070305.2w25xmd" for mmapping: Permission denied The error message tells you that you do not have permissions to that folder/file. Does your datastage id have access to that particular folder and file.
by DSguru2B
Mon Mar 12, 2007 3:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Control Process Failed
Replies: 61
Views: 15996

Build another sequence job from scratch that does the exact some thing. Delete this one. See if the problem persists.