Search found 53125 matches

by ray.wurlod
Sun Apr 06, 2014 5:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS 9.1 - poor XML stage performance
Replies: 5
Views: 2958

Welcome aboard.

Are you using "OR logging"? This is known to cause severe performance degradation. Prefer local (non-OR) logging.
by ray.wurlod
Fri Apr 04, 2014 6:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use a RESTful Web Service from a Parallel Job
Replies: 3
Views: 3636

One of the attractions of REST for the more laissez-faire is that it does not require WSDL or any other form of metadata definition.
by ray.wurlod
Fri Apr 04, 2014 2:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove duplicate strange issue
Replies: 3
Views: 2016

This was not properly detected in 8.0. It is now correctly detected. It shouldn't be a problem, but why would you specify nulls first when the field is not nullable?
by ray.wurlod
Fri Apr 04, 2014 2:30 pm
Forum: General
Topic: All stages in Server Jobs are plug-ins
Replies: 3
Views: 1392

All stage types in server jobs are "plug-in" - this is the architecture of server jobs. However, each should have its own icon. If not, it suggests that your client is running out of memory. Try closing some other windows, and removing any animated screen savers.
by ray.wurlod
Fri Apr 04, 2014 3:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove Duplicates Stage get wrong result
Replies: 4
Views: 1507

What were your sort keys? If you sort only by col1, you will get the answers you got. You probably need to sort also by col2 and maybe even col3. Make sure also that your data are correctly partitioned; that is, using a key-based partitioning algorithm based on col1.
by ray.wurlod
Fri Apr 04, 2014 3:54 am
Forum: General
Topic: How to create batchID?
Replies: 10
Views: 3389

Any string, but one that should be meaningful. It becomes the name of the "sequence" that the routine uses to keep track of the next available batchID. How about "batchID" ?
by ray.wurlod
Fri Apr 04, 2014 12:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Routines with RCP
Replies: 4
Views: 1491

Only to call the routine for every column.

There are technically illegal hacks via which you can find the name of each column in the record schema, and then obtain the value of each, but these are undocumented and - under the reverse engineering prohibition in your licence - illegal.
by ray.wurlod
Fri Apr 04, 2014 12:10 am
Forum: General
Topic: How to create batchID?
Replies: 10
Views: 3389

Invoke it through a Routine activity and use the return value (activity variable $ReturnValue) to supply the value to the job parameter in a Job activity.
by ray.wurlod
Fri Apr 04, 2014 12:09 am
Forum: General
Topic: Teradata Connector
Replies: 11
Views: 2870

There doesn't appear to be, either in the stage or in the documentation.
by ray.wurlod
Thu Apr 03, 2014 7:31 pm
Forum: General
Topic: Teradata Connector
Replies: 11
Views: 2870

chulett wrote:I was wondering if a target only option is what was implied by the "contains the SQL statements to be run for each input row." :(
I believe so, confirmed by my playing with the stage concerned (version 8.7).
by ray.wurlod
Thu Apr 03, 2014 5:55 pm
Forum: General
Topic: Teradata Connector
Replies: 11
Views: 2870

Before-SQL and After-SQL can certainly be read from a file using Teradata Connector (use Before SQL File or After SQL File properties). There seems to be no way to use a file to contain a SELECT statement. Job parameter(s) may, of course, be used, so you may have a workaround there. If the Teradata ...
by ray.wurlod
Thu Apr 03, 2014 3:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace consecutive spaces by one space
Replies: 4
Views: 1964

Trim() function with a single argument (the string on which to operate)removes leading, trailing and redundant whitespace characters.
by ray.wurlod
Thu Apr 03, 2014 3:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Routines with RCP
Replies: 4
Views: 1491

No.

Arguments to be passed to routine must be named input columns.

Of course, RCP will take care of any column that you don't want to process, which in your case is none of them.
by ray.wurlod
Thu Apr 03, 2014 3:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Meaning of the "USER" environment variable in the
Replies: 8
Views: 2632

On AIX at least the USER environment variable uses details from /etc/environment and also (maybe) your own profile under your home directory. The content of /etc/environment is the same for all users. If USER is not updated in ~/.profile, then it will be the same for all users.
by ray.wurlod
Thu Apr 03, 2014 4:16 am
Forum: General
Topic: Datastage Server Routine for LINKCOUNT?
Replies: 2
Views: 1150

1. Use JobHandle rather than handle in the call to DSGetLinkInfo() function. 2a. Delete the line that attaches a job. You don't need to do this if you're interested in the current job (the handle for which is DSJ.ME). 2b. If you are interested in getting the link count from a job other than the one ...