Search found 53125 matches

by ray.wurlod
Thu Sep 05, 2013 6:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to fetch integer part from decimal data
Replies: 10
Views: 4173

A curious suggestion from someone who has "performance driven outcomes" in his signature block!

How many data type conversions (implicit or otherwise) does your "solution" require?
by ray.wurlod
Thu Sep 05, 2013 5:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Increment Counter based on Stage Variable
Replies: 4
Views: 2007

The first code should work if it is the derivation expression for the stage variable svGroupRecordsIdx.

The second code will not work because you have tried to use an assignment statement, but it's actually treated as a Boolean test condition.
by ray.wurlod
Thu Sep 05, 2013 5:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error converting string to date
Replies: 3
Views: 2367

"99999999" would take the Else clause of your If statement. You need to add an IsValid() or IsValidDate() test as well.
by ray.wurlod
Thu Sep 05, 2013 4:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding DB2 connector
Replies: 1
Views: 781

1) Of these only the first exists. "DB2 connector type" is not an available partitioning algorithm.

2) Try it with an innocuous SQL statement (such as a select of the current date) to determine whether it's executed from each node or only once.
by ray.wurlod
Thu Sep 05, 2013 4:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Grouping in XML stage
Replies: 14
Views: 4257

What are you NOW getting as output?
by ray.wurlod
Thu Sep 05, 2013 4:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NLS CODE PAGE ISSUE
Replies: 1
Views: 1112

Let's start by asking what you mean by "messed up in Oracle", why you believe this, and how this may have occurred.

Some idea of your DataStage job design might be useful too.
by ray.wurlod
Thu Sep 05, 2013 4:49 pm
Forum: General
Topic: Measure Waiting Time in Job Sequences
Replies: 1
Views: 1191

Probably easier to make use of the logs of the sequence and of its dependent jobs. Another possibility would be to take the generated code, paste it into the Job Control screen of a new server job, and add timing points into that code. Examine the code (on the Job Control tab in Job Properties). A s...
by ray.wurlod
Thu Sep 05, 2013 5:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC function "SQLBindParameter" reported: SQLSTA
Replies: 1
Views: 2165

The only data types that support precision in your example are the datetime/timestamp and the string/char. Check the precision settings for these in the database tables to which each environment (dev and the other) connects.
by ray.wurlod
Thu Sep 05, 2013 1:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Grouping in XML stage
Replies: 14
Views: 4257

Did you unmark the other elements as Key?
by ray.wurlod
Wed Sep 04, 2013 11:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Grouping in XML stage
Replies: 14
Views: 4257

You need to mark Amount as your repetition element.

Can you provide the XPath expressions from the Description field?
by ray.wurlod
Wed Sep 04, 2013 11:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to count repeated rows
Replies: 9
Views: 2835

Actually the test expression deptno = deptno will always be true, so your counter will increment for every row.
by ray.wurlod
Wed Sep 04, 2013 2:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple of 100, 1000
Replies: 4
Views: 1215

Code: Select all

Mod(InLink.TheColumn, 100) = 0
by ray.wurlod
Wed Sep 04, 2013 2:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while Reading Float DataType from DataBase
Replies: 9
Views: 6995

Specify Double as the data type the DataStage table definition. Some databases, including Sybase and SQL Server, report Float for DFloat data types.
by ray.wurlod
Wed Sep 04, 2013 2:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Empty Strings to Blank - Server to Parallel Eds
Replies: 4
Views: 1658

There are lots of solutions but, without knowing your exact requirement/logic, we cannot comment on whether an out-of-the-box solution exists.

You can call BASIC routines from the BASIC Transformer stage in parallel jobs.

You can use server jobs.

You can rewrite the logic into a parallel routine.
by ray.wurlod
Tue Sep 03, 2013 2:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Select in Oracle returns too many rows
Replies: 1
Views: 1277

Yes, if you're forcing it to run on two nodes (each of which is performing the SELECT) or, possibly, if you're selecting from a partitioned table. When partitioning by ROWID the constraint can work directly against the row identity value.