Search found 21 matches

by nima511
Sun Nov 07, 2010 9:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Data Capture
Replies: 3
Views: 1953

I am running on 2 nodes and am using the Auto Partition.
by nima511
Sun Nov 07, 2010 7:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Data Capture
Replies: 3
Views: 1953

Change Data Capture

I am using the Change Data Capture stage to perform comparisons for the below 2 inputs and am getting different number of records for each run. For e.g. I get 2 records or 3 or 1 record as output when I run each time: Can some one please help me as to why this is happening. Thank you Input 1 Key id_...
by nima511
Wed Jul 28, 2010 3:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert then Update
Replies: 6
Views: 2370

ID is being generated in the transformer.
It is a requirement thats why we need to populate the ID COlumn in both tables.
by nima511
Wed Jul 28, 2010 2:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert then Update
Replies: 6
Views: 2370

My job looks like: File -> Xfrm -> ODBC or DRS Stage Table A has ID, Name Columns Table B has ID Column. In the ODBC or DRS Stage: I want to first insert records into Table A. After populating Table A I want to insert records into Table B based on the records that have been inserted into Table A (I...
by nima511
Wed Jul 28, 2010 10:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert then Update
Replies: 6
Views: 2370

Insert then Update

Hello,

I want to perform a Insert into one table (A) and based upon the Insert values in the first table (A) Update the second table (B).

Can I accomplish this using one stage like the ODBC or DRS Stage instead of 2 seperate jobs?
Database that I am using is SQL Server.
by nima511
Wed Jun 02, 2010 4:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate Unique No's
Replies: 2
Views: 3708

Anbu,

Thank you very much for your help. It worked fine.
by nima511
Wed Jun 02, 2010 2:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate Unique No's
Replies: 2
Views: 3708

Generate Unique No's

I have a target database with the below 2 fields. Field 1 has unique numbers. E.g. Field 1 Field 2 1 abc 2 def 3 ghi I have a requirement wherin I need to insert records into this table. I need to first look at the last number in field 1 and insert records starting from 4 onwards. How do I achieve t...
by nima511
Wed May 12, 2010 8:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid Precision
Replies: 9
Views: 4994

Yes I am using RCP.
by nima511
Wed May 12, 2010 12:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid Precision
Replies: 9
Views: 4994

To isolate the field for which I was getting the error, tried dropping the field: FIELD12 NVARCHAR(2000) and I am not getting any error and the target table is getting populated.

How can I handle nvarchar(2000)?
by nima511
Wed May 12, 2010 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid Precision
Replies: 9
Views: 4994

I have not defined any column definition explicitly in my job. I got this from the database to give an idea about the fields I am dealing with.
by nima511
Wed May 12, 2010 7:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid Precision
Replies: 9
Views: 4994

Ray, Below is my input column definition for the table that is not loading: FIELD1 DECIMAL(5,0) NOT NULL ,FIELD2 DECIMAL(10,0) NOT NULL ,FIELD3 NVARCHAR(2) NULL ,FIELD4 DATETIME NULL ,FIELD5 DECIMAL(10,0) DEFAULT 0 ,FIELD6 DECIMAL(5,0) NULL ,FIELD7 DECIMAL(10,0) NULL ,FIELD8 NVARCHAR(30) NULL ,FIELD...
by nima511
Tue May 11, 2010 6:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid Precision
Replies: 9
Views: 4994

Invalid Precision

Hello, I am reading a SQL Server DB Table and am loading another table on SQL Server DB. Below is the job flow: ODBC -> Copy -> ODBC I have a problem wherein I get the below error for some tables and the rest of the tables seem to be loaded fine. I have not defined any column definition explicitly a...
by nima511
Mon May 10, 2010 11:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Drop Table
Replies: 2
Views: 3172

Drop Table

Can we drop a table using a DataStage Job?
Database where the table resides is a SQL Server.
by nima511
Wed May 05, 2010 9:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to TimeStamp Conversion
Replies: 8
Views: 4309

Transformer_45,0: Conversion error calling conversion routine date_from_string data may have been lost