Search found 16 matches

by ktweedly
Thu Jun 03, 2010 10:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ERROR: Abnormal end unit of work condition occurred
Replies: 2
Views: 5303

I recently encountered this error while updating a DB2 table. For testing I was updating a "clone" of the target table but I neglected to put a primary key on the clone. The lack of the PK caused DB2 to lock at the table level so in the parallel job, update_0 locked the table and update_1 ...
by ktweedly
Mon Apr 12, 2010 1:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I access the 'Drop unmatched fields' property in ODBC
Replies: 3
Views: 3627

How do I access the 'Drop unmatched fields' property in ODBC

Our ETL source application was recently upgraded and many tables had new columns added. In testing our suite of ETL staging jobs (just to see if they would still run) two jobs out of dozens choked on the extra columns. I'm not asking how to fix this, I can make the jobs work easily by adding referen...
by ktweedly
Tue Mar 09, 2010 11:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Adding an ODBC datasource for DB2 (UDB)
Replies: 1
Views: 2224

Adding an ODBC datasource for DB2 (UDB)

We are trying to add an ODBC datasource to connect to a DB2 database on an AS400. When the admin adds the entry to the .odbc.ini file and re-starts Datastage the entry does not appear in the drop-down list of DSNs to import table defs from. IBM's web site says that we must run a 'bind' process for t...
by ktweedly
Tue Mar 02, 2010 11:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Ent stage query in a parameter
Replies: 6
Views: 2436

Thank you Craig. That's what I needed to hear. If I cannot use parameters within parameters, so be it. We'll hardcode!
by ktweedly
Tue Mar 02, 2010 11:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Ent stage query in a parameter
Replies: 6
Views: 2436

Arnd, Yes I am. The query works if I take other parameters out of it. Here is the query "SELECT DISTINCT CUSTOMER_NAME FROM #$SAPDWSchema#.DW_VERTICALS WHERE CUSTOMER_NAME NOT IN (SELECT MGMT_CUSTOMER_NAME FROM #$SAPDWSchema#.DW_BILLTO_CUR)". If I change the #$SAPDWSchema# to a hardcoded s...
by ktweedly
Tue Mar 02, 2010 10:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Ent stage query in a parameter
Replies: 6
Views: 2436

ODBC Ent stage query in a parameter

I want to put a query in a parameter and use it in an ODBC enterprise stage against a UDB database. In the stage, under source, the code is invoked as Query=#Query#. The query is defined as a job level parameter and its initial value is the query code (SELECT CUSTOMER_NAME .....) It doesn't work, I ...
by ktweedly
Fri Feb 12, 2010 10:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameters in shared containers (not parameter sets)
Replies: 0
Views: 1047

Parameters in shared containers (not parameter sets)

I have the task of replacing some hardcoded text (schemas) with environmental variables. In a shared container I cannot figure out how to add a single parameter. The properties editor seems to only allow parameter sets. The editor shows existing parameters so they must have been entered individually...
by ktweedly
Fri May 15, 2009 11:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator stage doubling values
Replies: 10
Views: 4283

Kryt0n - Yes there is a join but it is a left outer. The number of rows after the join is the same as the left hand table. I developed a server job to do the same aggregation and the numbers came out correct although the job is WAY slower. I am now confident that the problem is related to parallelis...
by ktweedly
Thu May 14, 2009 12:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator stage doubling values
Replies: 10
Views: 4283

Sorry for the delay folks, system problems.

I tried using a hash on the grouping keys but got the same results. In this shared environment I cannot constrain the software to one node.

Would simply making this a server job solve the prob? I'll try it.
by ktweedly
Wed May 13, 2009 1:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator stage doubling values
Replies: 10
Views: 4283

Two nodes. Partition is set to auto.
by ktweedly
Wed May 13, 2009 1:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator stage doubling values
Replies: 10
Views: 4283

Aggregator stage doubling values

I am using an aggreagtor stage to sum an amount field. In the resulting table the value is exactly twice the expected value. If I sum the incoming data manually with a SQL query, it is correct. It sounds suspicious to me that it is exactly double. Am I making some stupid mistake? Is there a known is...
by ktweedly
Wed Apr 15, 2009 1:35 pm
Forum: General
Topic: NullToValue in Modify stage
Replies: 3
Views: 4135

I don't see handle_null() in the Developer's Guide. Do you have a reference?
by ktweedly
Wed Apr 15, 2009 1:32 pm
Forum: General
Topic: NullToValue in Modify stage
Replies: 3
Views: 4135

Thanks Ray,

It figures that when I try to do my homework by reading the manual, the manual is wrong!!!
by ktweedly
Wed Apr 15, 2009 1:29 pm
Forum: General
Topic: Final Delimiter issue in Sequential File
Replies: 3
Views: 8199

I solved a similar problem with the last column on a record by appending a delimiter on the record. You can bring in the record as one large chunk, append the delimiter of your choice in a transformer and then break out the columns in another transformer with "field" statements that feel f...
by ktweedly
Wed Feb 18, 2009 10:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dymanic update of parametres/variables
Replies: 7
Views: 2899

I have created the routine to set $Userstatus. It compiled and tested OK. When I try to use it in the column derivation (per the posts) it stays red (Variable 'userstatus' not defined).

Am I doing something wrong?