Search found 53125 matches

by ray.wurlod
Thu Jul 05, 2007 9:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date loading problems
Replies: 7
Views: 1700

:idea: Get into the habit of renaming stages and links with meaningful names as soon as you place them in the design area, and renaming sequential file columns to meaningful names while on the Define tab of the Import wizard.

DSLink9.Field003 is anathema.
by ray.wurlod
Thu Jul 05, 2007 9:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSAddEnvVar
Replies: 4
Views: 1089

Please explain the circumstance for which you require this functionality in a server job. Server jobs, as a general rule, do not make much use of environment variables. It can be done, but there is no out-of-the-box routine for doing it. But without good reason I am not going to waste time creating ...
by ray.wurlod
Thu Jul 05, 2007 9:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine returning weired value for calculating factorial
Replies: 16
Views: 4497

Etiquette Note
We don't do "urgent" here. All posters are volunteers - no-one gets paid for posting. People post as and when they can. If you want "urgent" help sign up with your support provider for premium service and learn how much "urgent" really costs.
by ray.wurlod
Thu Jul 05, 2007 9:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine returning weired value for calculating factorial
Replies: 16
Views: 4497

What's the largest number that DataStage can process? 38 digits - this is documented in the DataStage BASIC manual and other places. How many digits in 100! ? You CAN do it in DataStage - but why? To do it in DataStage you will need to use "string math" functions (SMUL() in paricular), which work wi...
by ray.wurlod
Thu Jul 05, 2007 9:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IsValid Function
Replies: 16
Views: 6086

In production this function will not be optimally efficient, since it needs to go through the CASE construct for every row. A much improved version will appear shortly - I'll advise on this thread, and document why the new version is, to quote Craig H, "more better".
by ray.wurlod
Thu Jul 05, 2007 9:08 am
Forum: General
Topic: Caught ORCHESTRATE exception
Replies: 3
Views: 2095

Re: Caught ORCHESTRATE exception

pravat_dw wrote:Can any one help me out.


We'd love to help you out. Which way did you come in?
(-- Spike Milligan)
:lol:
by ray.wurlod
Thu Jul 05, 2007 9:07 am
Forum: General
Topic: Caught ORCHESTRATE exception
Replies: 3
Views: 2095

Any reason not to post a question that is obviously about a parallel job in the forum for parallel jobs?
by ray.wurlod
Thu Jul 05, 2007 9:06 am
Forum: General
Topic: Problem creating indexes!
Replies: 4
Views: 1313

Any reason not to post a question that is obviously about a server job in the forum for server jobs? There's no such thing as a hash file (other than a tool for shaping a block of hash). How did you attempt to create one? Assuming the thing that you attempted to create was a hashed file, how did you...
by ray.wurlod
Thu Jul 05, 2007 9:04 am
Forum: General
Topic: What are the areas in datastage to look upon for tunning job
Replies: 2
Views: 1120

When you run the job from Director, select the Tracing tab in the Job Run Options dialog and enable statistics collection for each active stage. The gathered statistics can be used to provide finer detail as to where each stage is spending the majority of its time.
by ray.wurlod
Wed Jul 04, 2007 1:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of processors used
Replies: 8
Views: 2372

PX moves data in chunks of at least 32KB. If you have less data than that - or even less than 128KB in my experience, you're not really going to get good parallelism. (For fixed width data the transport block size is even larger; 1MB by default.) Try your tests with large data volumes - at least 10MB.
by ray.wurlod
Wed Jul 04, 2007 1:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CDC and comparing NULLS
Replies: 7
Views: 2822

If you can have both "" and NULL, I would use a non-default representation of null, such as "<NULL>" - something that will never occur in data.
by ray.wurlod
Wed Jul 04, 2007 1:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deleting records from a table - Fatal Error
Replies: 9
Views: 1752

What are the data types of the columns mentioned in the WHERE clause?

Check the first entry for the job in the job log, to determine the values that were passed for the parameters.
by ray.wurlod
Wed Jul 04, 2007 1:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Identity Column
Replies: 1
Views: 769

Any mechanism external to DataStage will need a sequential process to generate unique keys. The only way truly to use fully-scalable parallelism is to initialize a lookup data set with the next available key, and then use a formula based on the partition number and partition count to add to that. Ex...
by ray.wurlod
Wed Jul 04, 2007 1:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing into seq file
Replies: 10
Views: 2540

View Data will get rows from the first partition first. That's why you're seeing only odd-numbered rows. If you were to scroll down far enough (and select enough rows to read) you will find the even-numbered rows.
by ray.wurlod
Wed Jul 04, 2007 1:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rowcount in Transformer
Replies: 3
Views: 2180

Stage variable svRowCount. Initialize to 0. Derive as something like

Code: Select all

If Mod(@INROWNUM, #ResetCount#) = 0 Then 0 Else svRowCount + 1