Search found 53125 matches

by ray.wurlod
Tue Apr 16, 2013 3:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generic stage - usage of "transform" operator
Replies: 4
Views: 8829

Try adding the trailing semi-colon.

Take a look at the generated OSH or score for a job where a Transformer stage is used. This will show you exactly how the transform operator can be used.
by ray.wurlod
Tue Apr 16, 2013 3:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue in using date_from_string in modify stage
Replies: 3
Views: 959

The first argument of date_from_string must be the name of a column on the input link to the Modify stage. It cannot be a constant as you are trying to do.

Use an upstream Column Generator stage to generate the constant. Use a cycle with exactly one value.
by ray.wurlod
Tue Apr 16, 2013 3:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with data stage Remove duplicator stage
Replies: 2
Views: 1116

The Remove Duplicates stage requires that data be sorted on the "key" column(s).

It is also possible that there is a non-printing character in one of the "rogue" values. Or even a non-visible character, such as a space.
by ray.wurlod
Tue Apr 16, 2013 3:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Needed current date in CCYY-MM-DD-HH.MM.SS.NNNNNN format
Replies: 1
Views: 1297

CurrentTimestamp() is going to generate a binary timestamp. Format only comes into the picture when you want to convert that to a string. The View Data utility necessarily has to convert to string so we humans can see the value. The easy options are to specify a format string with TimestampToString(...
by ray.wurlod
Tue Apr 16, 2013 12:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: removing descriptor files when datasets do not exist
Replies: 3
Views: 798

Descriptor files are not "in node1 node2". There is only one descriptor file per Data Set; the descriptor file has a name with a ".ds" suffix. The data files in the directories nominated as resource disk in the configuration file are known as "segment files". So please ...
by ray.wurlod
Mon Apr 15, 2013 11:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Could not find "APT_DB2ReadOperator"...
Replies: 12
Views: 4324

Another way to do what Andy proposed (and I'm guessing he does it this way too, as often as not) is

Code: Select all

DSHOME=`cat /.dshome`
export DSHOME

.  $DSHOME/dsenv
by ray.wurlod
Mon Apr 15, 2013 11:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need logic for this scenario
Replies: 2
Views: 874

Write out your derivation logic in English or whatever your natural language is. You will likely find that this helps to focus your mind on algorithms that might produce the desired result.

It's called writing a specification, and there's far too little of it done these days!
by ray.wurlod
Mon Apr 15, 2013 11:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To read all data from an CSV file and then populate into xml
Replies: 5
Views: 1762

It would be of great help to me if you could uncheck the premium content. That's just not going to happen. Premium content is the mechanism by which DSXchange is funded. Were it not for the premium content fees, DSXchange could not exist. Premium membership is not expensive - less than 30c (Rs12 ap...
by ray.wurlod
Mon Apr 15, 2013 2:33 pm
Forum: General
Topic: Difference: package (pkg) vs. export (dsx) for deployment
Replies: 3
Views: 1953

Information Server Manager gives you the ability to interact with a source code control system. A deployment package can also include "external folders" (e.g. scripts, controls, etc.) that are sub-directories in the project, which DSX exports don't. Packages also include values files for p...
by ray.wurlod
Mon Apr 15, 2013 4:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Tune a query with where clause that has a function
Replies: 6
Views: 1491

What does SUBSTR with only one argument do? Are you forcing implicit CASTs in the IN list? What are a, b, c and d? Is ACCT_TYPE indexed?
by ray.wurlod
Mon Apr 15, 2013 4:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help on "Before SQL" on DB2 Connector
Replies: 9
Views: 2975

31-FEB-2013 is a bit more of a worry. :wink:
by ray.wurlod
Mon Apr 15, 2013 3:57 am
Forum: General
Topic: How to migrate a DS-Basic Job from SERVER to PARALLEL?
Replies: 15
Views: 5922

Sometimes the View Data utility is the problem. Can you try looking at the file using some other utility such as a UNIX command?
by ray.wurlod
Sun Apr 14, 2013 2:16 pm
Forum: IBM QualityStage
Topic: Multi-valued domain matching
Replies: 5
Views: 3458

You have to ask yourself whether these billions of rows are the correct answer. If not, tighten your blocking or matching criteria. As a general rule, blocking in the first pass should eliminate as much as possible from each block of "matchable" records.
by ray.wurlod
Fri Apr 12, 2013 2:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: test connection failed in a datastage job using DB2connector
Replies: 6
Views: 2422

Use a correct username/password.

Make sure that the username/password has not expired.