Search found 53125 matches

by ray.wurlod
Tue Sep 26, 2006 3:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove the leading zero's.
Replies: 4
Views: 7400

And the other part of the requirement is a simple If..Then..Else

Code: Select all

If Num(InLink.TheColumn) Then Trim(InLink.TheColumn, "0", "L") Else InLink.TheColumn
by ray.wurlod
Tue Sep 26, 2006 3:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replacing a string
Replies: 17
Views: 6988

Still awaiting an answer to "Can you guarantee that the string-to-be-replaced occurs not more than once in the field?". Arnd's answer is sufficient if the answer is "yes", but not if the answer is "no".
by ray.wurlod
Tue Sep 26, 2006 6:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unziping file from Windows environment
Replies: 25
Views: 9309

Examine the source code for ExecDOS. It requires that there be some output from the command. Arnd's suggestion, of adding a dir command, forces there to be some output. A hostname command or a cd command (with no command line arguments) would have done as well.
by ray.wurlod
Tue Sep 26, 2006 6:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: escape character for \n in DataStage
Replies: 4
Views: 17407

It's the same as anywhere. In what stage type are you attempting to effect this conversion? You might require Char(10) or you might be able to use the regular expression "\n" depending on what stage type you are using.
by ray.wurlod
Tue Sep 26, 2006 6:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Debugging Multille Instances from JCR (Job Control Routine)
Replies: 7
Views: 2840

Not unless you can reliably reproduce the symptom.
by ray.wurlod
Tue Sep 26, 2006 6:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replacing a string
Replies: 17
Views: 6988

Ereplace() is not available in the parallel Transformer stage.
by ray.wurlod
Tue Sep 26, 2006 6:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stages that automatically drop columns.
Replies: 9
Views: 2073

You may only have other stage types in which you can not drop columns, and therefore require a Copy or Modify stage to drop columns cheaply.
by ray.wurlod
Tue Sep 26, 2006 6:30 am
Forum: General
Topic: Where can I get a price??? (UK)
Replies: 1
Views: 2086

Go back to IBM and ask for other resellers. I have no idea what the UK price might be, and would be very surprised if any given two customers paid the same amount.
by ray.wurlod
Mon Sep 25, 2006 11:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unziping file from Windows environment
Replies: 25
Views: 9309

Don't even attempt it. It's an additional and unnecessary layer because, in the routine, you'd be invoking the appropriate operating system command (via DSExecute()). Use an Execute Command activity in a job sequence, or use a before-job subroutine, either ExecDOS or ExecDOSSilent or a clone of eith...
by ray.wurlod
Mon Sep 25, 2006 11:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating records into hashed file
Replies: 6
Views: 1608

Look at increasing the transaction isolation level in DB2 or find some other means for guaranteeing a consistent snapshot. That done, you can maintain the hashed file in "real time" using a pair of hashed file stages plus "disabled, lock for update" as the read cache setting. The job design in the o...
by ray.wurlod
Mon Sep 25, 2006 11:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datawarehouse's Data Merging Considerations
Replies: 7
Views: 2002

Look also for opportunities to use conformed dimensions. For example, typically the same time granularity will be used regardless of data source, so that the same time dimension table can be used with all fact tables.
by ray.wurlod
Mon Sep 25, 2006 11:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Development Environment Setup Consideration
Replies: 6
Views: 2665

Re: Datastage Development Environment Setup Consideration

I would like to get feedback from everyone in this forum. Are you sure? There are over 13,000 registered. Your question really boils down to installing everything you need (it's easiest to install all plug-in stage types), making sure there's plenty of resources (CPU, memory and disk space, and mor...
by ray.wurlod
Mon Sep 25, 2006 11:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: "$DSP.Close" is not in the CATALOG
Replies: 9
Views: 2773

At some point, when nothing else is happening, use uvbackup to take a backup of your project - the backup itself can be discarded - you are interested in the report of whether any files are corrupted in any way. This post will guide you on your way.
by ray.wurlod
Mon Sep 25, 2006 11:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSWaitForJob
Replies: 6
Views: 1676

That's a good approach; if you understand it and can maintain it, it's probably the right approach. If you can afford to have long-running jobs, you might consider a job sequence that does what you require. Use "All" sequencers to govern what executes when. Seq1 ------> A -------> Seq4 -----> A Seq2...
by ray.wurlod
Mon Sep 25, 2006 10:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Tricky Question
Replies: 4
Views: 1672

We answered the question you posed. The "bunch of IDs" in ColA is a new question. It is solved by sorting the input by ColA and using stage variables to detect the changes therein and to accumulate/reset the counter (ColB). The technique has been described a number of times; search the forum for det...