Search found 15603 matches

by ArndW
Fri Sep 18, 2009 7:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Wave Processing - end-of-wave detection question
Replies: 6
Views: 3095

Wave Processing - end-of-wave detection question

I have a job which is reading a MQ source which is generating waves. For reason I won't delve into, I would like to write this data to a sequential file and later read this file while keeping the wave related information. I would like to be able to write an "end-of-wave" record to the sequ...
by ArndW
Fri Sep 18, 2009 6:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Inset Space as value in the Oracle table
Replies: 3
Views: 1116

What method are you using to load to Oracle? See about setting "APT_ORACLE_PRESERVE_BLANKS" to change the load behaviour on spaces.
by ArndW
Fri Sep 18, 2009 4:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To generate oracle sequence in Datastage
Replies: 2
Views: 1898

You can generate a sequence from a file or from a database sequence in the transform stage. In addition, there is a whole stage dedicated to this called the "Surrogate Key Generator" stage.
by ArndW
Thu Sep 17, 2009 5:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashed file lookup/caching issue (assumption)
Replies: 19
Views: 4230

Is your key order indeed CLASS_TYPE_CDE then CLASS_CDE everywhere in the job? Typically when a lookup like this fails it is due to some key issue.
by ArndW
Thu Sep 17, 2009 4:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashed file lookup/caching issue (assumption)
Replies: 19
Views: 4230

miwinter wrote:...Is this a reference to using the 'Position' attribute?
Yes. Key should be 0.
Could you do a "LIST DICT <yourfilename>" from a DS shell and post the I-Type listing for the combined key?
by ArndW
Thu Sep 17, 2009 4:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashed file lookup/caching issue (assumption)
Replies: 19
Views: 4230

I still think your root cause is either the compound key or the column ordering. Do you see column numbers?
by ArndW
Thu Sep 17, 2009 4:09 am
Forum: General
Topic: conversion
Replies: 2
Views: 1002

Assuming you are keeping string format:

Code: Select all

IF In.DateString < 10 THEN '20':In.DateString ELSE '19':In.String
This assume the year 10 as the century break year.
by ArndW
Thu Sep 17, 2009 3:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashed file lookup/caching issue (assumption)
Replies: 19
Views: 4230

Can you order the keys before the data columns
by ArndW
Thu Sep 17, 2009 3:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashed file lookup/caching issue (assumption)
Replies: 19
Views: 4230

Are you using a single key or compound key? Also, have you kept the same column names and ordering throughout the job?
by ArndW
Thu Sep 17, 2009 3:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal field getting round off
Replies: 7
Views: 2979

Is your output column to the sequential defined as Decimal(10,2) or as a string? How about doing an explicit conversion in your transform stage using DecimaltoString() and writing a varchar to the sequential file (assuming you are currently writing a decimal field)? That explicit conversion is bette...
by ArndW
Thu Sep 17, 2009 2:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Expand Stage Reports Negative %CP in Monitor
Replies: 4
Views: 1368

That could explain it - I know the code contains a plethora of ifdefs depending upon OS when it cmoes to internal dates and times.
by ArndW
Thu Sep 17, 2009 2:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while using LookUp stage and Join Stage
Replies: 5
Views: 1568

The lookup stage should work correctly, regardless of the source data partitioning. The join does depend upon correct partitioning; you should partition on your join key to ensure that all rows are in the correct partition.
by ArndW
Thu Sep 17, 2009 1:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: connectivity to oracle
Replies: 5
Views: 2976

It would seem that the library should work. The "file" command only checks the initial bytes, so it could be corrupted - yet the "ldd" command doesn't show an error. Could it be a 64bit library in the 32bit directory or is the date-time modifed different from the other objects in...
by ArndW
Thu Sep 17, 2009 1:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal field getting round off
Replies: 7
Views: 2979

If you do a "view data" on the source, are the numeric values displayed correctly there?
by ArndW
Thu Sep 17, 2009 1:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update not working
Replies: 5
Views: 2564

Are you using custom SQL , and if so, please post it. If you are getting duplicate "key" columns, then most likely your table DDL is not correct. You might look at that and/post it here as well.