Search found 53125 matches

by ray.wurlod
Sat Feb 05, 2011 2:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help needed in converting code which is in DS Server routine
Replies: 17
Views: 8678

Does "1:3" mean "1, 2 and 3" or (as suggested by your expected output) just "1 and 3"? In that case, how would you specify "1, 2 and 3"? It seems to me that you don't need DataStage BASIC at all - this could very simply be done with a DataStage job that simply...
by ray.wurlod
Sat Feb 05, 2011 12:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LOOKUP HELP
Replies: 14
Views: 5156

Join (preceded by "don't sort, already sorted" Sort stage and relying on sorted data from the database only grabs one key value at a time from each link. Indeed, that's why it mandates sorted inputs; it would be horribly memory hungry otherwise, needing to load the entire right input into ...
by ray.wurlod
Sat Feb 05, 2011 12:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Questions regarding Hash files and hash file stage
Replies: 54
Views: 42070

mavrick21 wrote:I was about to ask - Can data in Hashed file be cleared without deleting DATA.30, OVER.30 and the VOC entry?

And I found out I can :wink:

DELETE FROM <HASHED FILE>

Posted here hoping this might be useful for others

Code: Select all

CLEAR.FILE <hashedfile>
is way more efficient.
by ray.wurlod
Fri Feb 04, 2011 4:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer into Parallel Jobs
Replies: 7
Views: 4689

Yes. Server jobs don't use the C++ compiler - only parallel jobs do, and even then it's only those with special stage types such as Transformer and Build stages.
by ray.wurlod
Fri Feb 04, 2011 4:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I fix performance bottleneck at Sort stage?
Replies: 12
Views: 5410

Depends what you want to use it for. As a general rule I'd say it's meaningless everywhere (only a very few exceptions), since the clock is always running, even during startup, waiting for I/O to return, and so on. Also, row sizes vary, another factor mitigating against rows/sec being a particularly...
by ray.wurlod
Fri Feb 04, 2011 4:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer into Parallel Jobs
Replies: 7
Views: 4689

I doubt it very much. Do you even have the compiler run-times? If you do, export the executables with the jobs and don't re-compile.
by ray.wurlod
Fri Feb 04, 2011 4:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LOOKUP HELP
Replies: 14
Views: 5156

Join is likely the better approach. Sparse lookup is slow, particularly when the database server is not on the same machine as the DataStage server.
by ray.wurlod
Fri Feb 04, 2011 4:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Questions regarding Hash files and hash file stage
Replies: 54
Views: 42070

mavrick21 wrote:I couldn't find the job which populated it.
Why not? Did you attempt a "where used" analysis" on the table definition for the hashed file?
by ray.wurlod
Fri Feb 04, 2011 1:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I fix performance bottleneck at Sort stage?
Replies: 12
Views: 5410

The rows/sec figure is meaningless. Think about operation of a sort. It can't output any rows till all its input rows have arrived. However the clock starts running immediately the job starts. Therefore the actual rows/sec out of the Sort stage - indeed out of any blocking stage - will be substantia...
by ray.wurlod
Fri Feb 04, 2011 1:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Timestamp format- 24 hrs to 12 hrs
Replies: 5
Views: 5598

First question - are you really receiving timestamps (from a database) or are your receiving strings containing timestamps (from a text file)? Your answer to that question will affect the answer that we can give for your original question.
by ray.wurlod
Fri Feb 04, 2011 1:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Ruleset error
Replies: 7
Views: 3627

Exactly the same version, same platform, same operating system? If not, please start a new thread.
by ray.wurlod
Fri Feb 04, 2011 1:36 pm
Forum: General
Topic: How to store Job start time,end time,job name in Oracle
Replies: 51
Views: 37920

Your syntax for WriteSeq is incorrect - you have tried to use the syntax for Write. Check the DataStage BASIC manual. You can use as much code as you like, but only one call from the after-job subroutine area in job properties. That, however, can be a wrapper that invokes as many routines as you wish.
by ray.wurlod
Fri Feb 04, 2011 1:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Logic(If then else)
Replies: 2
Views: 2412

What's really missing is the End for the Then.

Code: Select all

If   Arg5=4 
      Then 

          MGlAccount = GlAccount[1,4] 
                        
      End
      Else            

           GlAccount = MGlAccount 
           MGlAccount = MGlAccount1 

       End
by ray.wurlod
Fri Feb 04, 2011 1:28 pm
Forum: General
Topic: Migrating from 7.5 to 8.1
Replies: 1
Views: 1044

Immense changes. Consult the IBM web site (Information Center) to read the Planning, Installation and Configuration Guide.
by ray.wurlod
Fri Feb 04, 2011 3:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle Nulls
Replies: 5
Views: 3367

Let's start again. How is the Null Field Value property set in your Sequential File stage? Is it set on the Format tab, for individual fields separately, both or neither? Is a zero length string to be regarded as null? Is a single space to be regarded as null? Whatever the case, you are going to nee...