Search found 15603 matches

by ArndW
Fri Oct 29, 2010 3:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is NLS Setting is Required to read Russian Data
Replies: 3
Views: 1896

The answer to the question is "the same NLS settings that the data is encoded in". What are your ORACLE NLS environment variable settings and have you checked your oracle table nls settings?
by ArndW
Fri Oct 29, 2010 3:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issues compiling Parallel External Routine
Replies: 16
Views: 6055

did you include "math.h"? Are the math libraries in the search path at compile time?
by ArndW
Fri Oct 29, 2010 3:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to remove "shift in/out characters"
Replies: 2
Views: 1268

The Shift-In and Shift-Out characters will be the same only if you ensure that you define the two stages (CFF and database) with the same NLS settings, otherwise you won't be able to compare the two streams.
by ArndW
Fri Oct 29, 2010 3:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Counting rows and summing columns in same aggregator stage
Replies: 4
Views: 4169

yimwai - that's a simple and elegant solution :)
by ArndW
Fri Oct 29, 2010 2:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling Query in ODBC stage
Replies: 2
Views: 1322

You can use job parameters to pass in dynamic query statements for the ODBC stage.
by ArndW
Fri Oct 29, 2010 2:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Counting rows and summing columns in same aggregator stage
Replies: 4
Views: 4169

It would seem not, I just played around with the aggregator stage and couldn't find a way of doing with just one stage. Perhaps someone else has found another solution.
by ArndW
Thu Oct 28, 2010 6:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Doing division in parallel
Replies: 6
Views: 1605

Will the INT() function suffice for your purposes?
by ArndW
Thu Oct 28, 2010 5:52 am
Forum: General
Topic: server routine
Replies: 2
Views: 1167

Try

Code: Select all

Call DSExecute("UV", "SELECT CATEGORY FMT '32L', NAME '32L'  FROM DS_JOBS;',Output,SystemReturnCode) 
by ArndW
Thu Oct 28, 2010 5:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Protected Project
Replies: 14
Views: 3295

Once place that the project's status as protected or not is visible is in the UV.ACCOUNTS file, the following query should list all protected projects: LIST UV.ACCOUNT ID.SUP @ID WITH EVAL 'FIELD(NAME,"\",4)' = 46256 A BASIC routine to return 0 for unprotected and 1 for protected would be ...
by ArndW
Thu Oct 28, 2010 3:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading error in DB2
Replies: 7
Views: 2597

As has been stated above, you are getting NULLs in your target because the converion from string to numeric in DataStage is failing on certain values. Do an explicit conversion in DataStage and you'll find out which values are causing you problems.
by ArndW
Thu Oct 28, 2010 2:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issues compiling Parallel External Routine
Replies: 16
Views: 6055

What happens when you remove the "int ParsenExtract(char *,char *,char *); " from your source code?
by ArndW
Wed Oct 27, 2010 8:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Stage TIMESTAMP datatype
Replies: 8
Views: 2997

So the source data looks like "2010-01-01 12:30:44" and you are reading it into your job as a CHAR(19) or VarChar(19) or VarChar(), correct?
by ArndW
Wed Oct 27, 2010 8:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Connecting to the server through DS Client
Replies: 3
Views: 1014

Could you post the exact error messages for (2) and for (3)? Particulary the sequential file issue is strange since DataStage doesn't really "connect".
by ArndW
Wed Oct 27, 2010 8:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC stage float field
Replies: 6
Views: 1923

The warnings about conversion from single to double can be avoided if your SQL select does a "CAST(YourColumn AS DOUBLE)", but the question is whether or not it results in the value you wish? Also, in the original job, could you try to keep the data type, but put in a transform derivation ...
by ArndW
Wed Oct 27, 2010 7:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: user environment variables
Replies: 3
Views: 1881

can you do a tnsping to your database from the DataStage server?