Search found 53125 matches

by ray.wurlod
Tue Nov 05, 2013 8:25 pm
Forum: General
Topic: Need datastage development efforts advice
Replies: 8
Views: 2439

Just been to a presentation at IOD where a quite competent team reported a multi-week development effort around a series of a few dynamic ETL jobs.
by ray.wurlod
Tue Nov 05, 2013 8:23 pm
Forum: General
Topic: Unable to open DS clients when server firewall is enabled
Replies: 5
Views: 1921

Well done, though you'd already claimed to have 31538 opened for both directions, which is why I was still musing about it. Port 31538 is the port that DataStage clients used to connect to the DataStage engine - specifically to the dsrpcd process when connecting.
by ray.wurlod
Mon Nov 04, 2013 7:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove a substring in a string
Replies: 15
Views: 5135

In version 9.1.2 Ereplace() is available for parallel jobs. For versions 8.x and earlier you can use the pxEreplace() function provided here on DSXchange.
by ray.wurlod
Mon Nov 04, 2013 7:38 pm
Forum: General
Topic: DataStage benchmark
Replies: 11
Views: 4500

There's no such thing as a trial version, but you can buy time on DataStage in the Amazon cloud relatively inexpensively (or in the IBM cloud, a little more expensively).
by ray.wurlod
Mon Nov 04, 2013 7:36 pm
Forum: General
Topic: shell script won't return when executed from datastage
Replies: 11
Views: 2899

Is there a flag (like the -c option for the sh command) that forces winexe to return? If so, use that,
by ray.wurlod
Mon Nov 04, 2013 7:34 pm
Forum: General
Topic: Unix DSJOB command not working
Replies: 3
Views: 1963

Re: Unix DSJOB command not working

rberman wrote:These scripts were working fine just a few hours ago
What has changed?
by ray.wurlod
Mon Nov 04, 2013 7:28 pm
Forum: General
Topic: job parameter value
Replies: 3
Views: 984

Another possibility is to use environment variable job parameters. These can have their default values edited outside of the job (usually using the Administrator client).
by ray.wurlod
Mon Nov 04, 2013 8:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove a substring in a string
Replies: 15
Views: 5135

Ereplace() should work. It performs substring replacement. Simply replace the unwanted substring with "".

Convert() is good if the characters to be removed do not occur anywhere else in the data.

Otherwise you'll need a mix of Index() function and substring operators.
by ray.wurlod
Mon Nov 04, 2013 7:57 am
Forum: General
Topic: Exception in Exception handle
Replies: 6
Views: 1627

Prevention is always better than cure. Don't write them that way. What kind of activity under the "exception being handled" stream is aborting?
by ray.wurlod
Sun Nov 03, 2013 12:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get previous row value using stage variables
Replies: 2
Views: 1806

Doesn't Search work for you? This technique has been described on a number of occasions. In your case you need two stage variables. Let's call them svNewPreviousSalary, which will become the value of the Previous_Salary output column, and svPreviousSalary, which will be used to "remember" ...
by ray.wurlod
Sun Nov 03, 2013 9:09 am
Forum: General
Topic: unix command through ds routine.
Replies: 1
Views: 830

Yes you can, but why would you want to call dsjob this way? You should prefer the DataStage API functions such as DSAttachJob, DSSetParam, DSRunJob, DSDetachJob, etc. For other UNIX commands the preferred approach is to use the DSExecute() subroutine, which captures both the output and the exit stat...
by ray.wurlod
Sat Nov 02, 2013 10:32 pm
Forum: General
Topic: job parameter value
Replies: 3
Views: 984

For starters, it's not urgent. It's the weekend. DSXchange is an all volunteer forum whose members post as and when (and if) they can. If you need urgent support sign up with your official support provider for premium service and learn just how expensive "urgent" can be. Parameter values a...
by ray.wurlod
Fri Nov 01, 2013 7:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Connector
Replies: 6
Views: 2171

If what you say is true then your Sequential File stage is running in parallel, which seems doubly odd. Are you sure you're not seeing a "fan out" icon, which indicates partitioning rather than collecting? You do have access to view the score. Request the score be logged using the APT_DUMP...
by ray.wurlod
Fri Nov 01, 2013 2:15 pm
Forum: General
Topic: Datastage job export through command
Replies: 4
Views: 1322

Yes.
by ray.wurlod
Thu Oct 31, 2013 11:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Connector
Replies: 6
Views: 2171

Welcome aboard.

If it runs in parallel it will use the DB2 partitioning algorithm.

If you should wish to enforce this, set the execution mode to parallel and the partitioning algorithm to DB2 - you will be prompted for the name of the table that defines the partitioning.