Search found 15603 matches

by ArndW
Fri Mar 13, 2009 2:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to insert a record into the table. [oraUpsert.C:1851]
Replies: 3
Views: 1155

Enable reject links, and output that to a file and include the SQL Error code to find out the cause.
by ArndW
Fri Mar 13, 2009 1:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Efficient Way to remove Duplicates and store them
Replies: 5
Views: 1501

There are only two basic methods of getting duplicates, either sorting the data by the column in question and comparing adjacent rows, or by keeping the whole contents of the file as it is being read in memory and doing a comparison (i.e. array or table scan). Either method may be quicker and more e...
by ArndW
Thu Mar 12, 2009 11:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Stage truncating data
Replies: 14
Views: 5297

That means that with VarChar(60) still only 6 characters out of 10 arrive in DataStage? Are there any NLS settings or special characters involved? Can you reproduce the problem with a new SQL Server table or just the one that you have so far?
by ArndW
Thu Mar 12, 2009 11:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: capacity planning
Replies: 2
Views: 1496

There are various numbers floating around regarding Gb per CPU and I've found that the true production numbers depend greatly upon how the application has been coded, both for server and for parallel systems. There is no upper bound or cap on CPU usage, but again depending on your application and co...
by ArndW
Wed Mar 11, 2009 1:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: StingtoDate
Replies: 6
Views: 1348

I had that issue a while back and had to use the length and an IF THEN ELSE clause with two different pictures for the date. I vaguely recall having seen someone post a format that accepts variable length date components but am not sure - I do know that it isn't documented.
by ArndW
Wed Mar 11, 2009 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: reject records from oracle
Replies: 2
Views: 574

Enable reject records in the Oracle stage and then put an output link; from this stream you can do such things as determine the errors and also do a count and write that to another location.
by ArndW
Wed Mar 11, 2009 7:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Jobs Status not compiled
Replies: 3
Views: 1470

Use a 2-stage process with a loop in your UNIX script,
a) "dsjob -ljobs MyProject" to get a list of jobs in your project
b) for each job, use "dsjob -run -jobstatus MyProject MyJob" to get the status.
by ArndW
Wed Mar 11, 2009 6:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Status code 96 DSJS_CRASHED
Replies: 16
Views: 6085

Variable $R246 seems to be undefined. Could you search the output for that and see if you can figure out where it is assigned a value?
by ArndW
Wed Mar 11, 2009 6:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Status code 96 DSJS_CRASHED
Replies: 16
Views: 6085

$R246 seem to be undefined. Could you search the output for that and see if you can figure out where it is assigned a value?
by ArndW
Wed Mar 11, 2009 6:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage installations on Wintel v/s HP-UX?
Replies: 4
Views: 1665

DataStage functions identically on both platforms. So the question is more of a "Windows vs. UNIX" one with all that that entails. That is almost like asking if one political party or the other is better...
by ArndW
Wed Mar 11, 2009 6:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Bad records get rejected in sequential file
Replies: 3
Views: 1949

Set the default value of the column to "0" in the column attributes on the sequential stage and the problem will also take care of itself. I personally prefer to use the suggestion of using a VarChar column and explicitly changing the value, but defaulting is quicker and simpler, just not ...
by ArndW
Tue Mar 10, 2009 1:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sequential file issue while appending to the same file
Replies: 5
Views: 1425

concurrent writing in append mode to a dataset works.
by ArndW
Tue Mar 10, 2009 12:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hash partition and scratch space
Replies: 7
Views: 2533

Ok, let us assume that your stages are all necessary. Then what you need to do is ensure that the steps happen sequentially instead of in parallel so that the scratch space doesn't fill up. Or that less processes use scratch. How many nodes does this job run on? What happens if you use a 1-node conf...
by ArndW
Tue Mar 10, 2009 12:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance sparse lookup
Replies: 5
Views: 1010

How many nodes are you running this on? Is your database partitioned? These factors can affect your runtime as well. The same applies to the order in which the sparse lookups are done as ordered queries might retrieve cached results.
by ArndW
Tue Mar 10, 2009 10:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup null value on DB2 - different for sparse and normal
Replies: 4
Views: 1348

Steve - that sounds like a reproduceable test case for IBM support. Do you have an Oracle instance floating around to test on; I wonder if it is DB2 specific or sparse-lookup specific.