Search found 37 matches

by Diya
Thu Sep 14, 2006 3:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating a specific column
Replies: 3
Views: 1685

Updating a specific column

I have a job which inserts/updates data in a table. I have one more job in which I want to update ONLY ONE column of that table.(The second job is only meant for this purpose) Im using a dynamic RDBMS stage to load the table and it is not allowing me to update only one column as it is asking for key...
by Diya
Tue Sep 12, 2006 9:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert into Dynamic RDBMS stage
Replies: 2
Views: 1505

Insert into Dynamic RDBMS stage

Hi, I have to insert records into a dynamic RDBMS stage. Since the derivation logic for one column is different I have to use another link for it. Is there a way to merge this column along with the other columns and insert into the DRS stage. It seems like the 'merge' stage will not work. can anyone...
by Diya
Mon Aug 14, 2006 10:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Left Outer Join
Replies: 8
Views: 4100

Thats working.... :D

Thanks Narasimha
by Diya
Mon Aug 14, 2006 10:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Left Outer Join
Replies: 8
Views: 4100

I tried it and it doesn't work in SQL server.

Any other ideas?
by Diya
Mon Aug 14, 2006 9:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Left Outer Join
Replies: 8
Views: 4100

Left Outer Join

Hey,

Im using a Dynamic RDBMS stage to fetch data from MS SQL Server.
I want to do a left outer join in the DRS stage.
It is possible using "User Defined SQL" .

But I want to know if it is possible to do it using "Generated SQL Query"

Can anyone help me on this?

Thanks,
Diya
by Diya
Thu Aug 10, 2006 4:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimal Shift
Replies: 3
Views: 2015

Thanks guys....I cudn even think of such a simple logic.. :cry:
by Diya
Thu Aug 10, 2006 4:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimal Shift
Replies: 3
Views: 2015

Decimal Shift

Hi, Im trying to apply a decimal shift to the incoming data. Incoming column is Precision=6 Scale=0 Output format needed is Precision=6 Scale=3. That means I want to shift the incoming number 3 places to the right. Is there an inbuilt function/routine for this? Or can anyone tell me how to do that? ...
by Diya
Tue Aug 08, 2006 10:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB Insert Error
Replies: 5
Views: 2317

I tried to insert some records manually...and it is working fine...
the SQL query generated by DS is like this

'INSERT INTO dbo.Error_table (column names ) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)'
by Diya
Tue Aug 08, 2006 6:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB Insert Error
Replies: 5
Views: 2317

No...Im using 'Generated SQL' by Dynamic RDBMS stage
by Diya
Tue Aug 08, 2006 6:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB Insert Error
Replies: 5
Views: 2317

DB Insert Error

Hey guys... Im getting the following error while trying to insert data(after creating the table through Dynamic RDBMS stage) into a table. Warning:"[Microsoft][ODBC Driver Manager] Invalid string or buffer length" Fatal Error:"SQLBindParameter: Failed to bind a parameter." I chec...
by Diya
Sat Jul 29, 2006 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Input Value Change
Replies: 8
Views: 3225

Thanks meena and kumar...

Kumar the stage variable logic is working...thnx
by Diya
Fri Jul 28, 2006 11:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Input Value Change
Replies: 8
Views: 3225

Hey I have an input column which comes in as a series of As Ps Xs etc ...for the first of each type I want to set the o/p clumn to 'Y' for all others o/p column shd be 'N'....I mean for the first A ishd assign 'Y' ....then for the first P....then for first 'X' like that...
by Diya
Fri Jul 28, 2006 10:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Input Value Change
Replies: 8
Views: 3225

Input Value Change

Can anyone tell me how to detect whether a particular input column in a transformer has changed to a new value or not?
by Diya
Thu Jul 27, 2006 12:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Flag Logic
Replies: 4
Views: 2089

Seems like impossible

I just gave u an example.There are 1000s of records in the input table with so many types.For each type i should pick up the row in which 'value' is maximum and then assign vale 'Y' to the flag...for all other rows i whould assign 'N'.... so if there are 'x' types I will have 'x' rows with flag='y' ...
by Diya
Thu Jul 27, 2006 11:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Flag Logic
Replies: 4
Views: 2089

Flag Logic

Guys, Im facing the following problem in the Transformer logic. I have two input columns to my transformer 'Value' and 'Type' I have one output 'flag' column which is to be populated as 'Y' or 'N' as per the logic below. "For each 'Type' I should assign the value 'Y' to the output flag for that...