Search found 61 matches

by arunpramanik
Thu Aug 19, 2010 1:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: KeyMgtGetNextValueConcurrent
Replies: 12
Views: 8381

OR you can use the same as mentioned, Sort your input records before the transformer and inside the transformer 1. svOld: svNew 2. svNew: <KeyColumn> 3. svCol2: If svOld <> svNew Then svCol2 + 1 Else svCol2 Map this svCol2 to your Col2 And the point 3 needs to be changed to something like 3. svCol2:...
by arunpramanik
Wed Aug 18, 2010 2:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: KeyMgtGetNextValueConcurrent
Replies: 12
Views: 8381

split your output to aggregator

Code: Select all


input ----- xfm ---------seqfile
             |------- srt ----- aggregator ---- xfm(use keymgmy) ---- hashfile
then lookup seq file with hash file
by arunpramanik
Wed Aug 18, 2010 2:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML Grouping
Replies: 6
Views: 3375

welcome to dsxchange

First try to create a XSD, then import it in the XML output stage
You can easily create this xsd from a sample xml file using xmlspy
by arunpramanik
Wed Aug 18, 2010 7:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs are in Running status
Replies: 8
Views: 2294

chulett wrote:Are you certain that in all that patching / killing that your DataStage server wasn't simply rebooted while your jobs were running? ...
The patching activities were done on MS SQL server cluster and process that was killed was DB processes. DS server was running and nothing was done on DS server.
by arunpramanik
Wed Aug 18, 2010 7:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs are in Running status
Replies: 8
Views: 2294

ArndW wrote: a rare occurrence. ...
I hope so, if this rare occurence is due to absence of connectivity at time process kill.
by arunpramanik
Wed Aug 18, 2010 6:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs are in Running status
Replies: 8
Views: 2294

Was DataStage reading from the database when it was failed over? If DataStage doesn't get an error from the DB then it cannot know that there is an error. Normally during a write the DB must return in ... That is where I am unable to reason - if DBA has killed the process why the job still in runni...
by arunpramanik
Wed Aug 18, 2010 6:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs are in Running status
Replies: 8
Views: 2294

chulett wrote:They were still actually running or just in a 'running state'? Could you find active processes for the jobs? ...
Jobs were in Running State. We were not able to stop from Director.
We had to clear the status.
by arunpramanik
Wed Aug 18, 2010 3:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobs are in Running status
Replies: 8
Views: 2294

Jobs are in Running status

Recently I had face a issue. I found the jobs are in running status while it should be Aborted. Here I am talking about a DataStage server (hosted on a virtual machine) retrieves data from MS SQL Server hosted a different Cluster server I have went through the earlier post http://www.dsxchange.com/v...
by arunpramanik
Wed Aug 18, 2010 2:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to fire an update query using datastage job?
Replies: 23
Views: 17786

From the very first post - using a query I can get below recods to update System Plan Id P1 102 202BILGN16 P1 102 202BILGN16 P1 102 202BILGN16 P2 103 202BILGN15 P2 103 202BILGN15 P2 103 202BILGN15 Based on this above data at least there is atleast another composite key. Hope you have identified all ...
by arunpramanik
Tue Aug 17, 2010 2:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to fire an update query using datastage job?
Replies: 23
Views: 17786

I think the Delete operation is not working; and most probable reason can be that you are deleting Master table and FK constraint is not allowing.

But this should not create the INSERT problem, unless the record do exists in Master table with same PKs
by arunpramanik
Mon Aug 16, 2010 3:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to fire an update query using datastage job?
Replies: 23
Views: 17786

Considering that we are working with KEY FIELDS. Here is an alternate design - pk1,pk2,pk3 = oldval input -----------> xfm------------ODBC (delete) | pk1,pk2,pk3 = newval | ODBC (insert) Use user define statement in each statement for example DELETE FROM "xyz" WHERE ("pk1" = ? AN...
by arunpramanik
Mon Aug 16, 2010 3:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to delete data using datastage job?
Replies: 5
Views: 4201

Looks like this topic is related to earlier post
viewtopic.php?t=135099
by arunpramanik
Mon Aug 16, 2010 3:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to fire an update query using datastage job?
Replies: 23
Views: 17786

Please describe your job design.
by arunpramanik
Wed Aug 04, 2010 6:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to fire an update query using datastage job?
Replies: 23
Views: 17786

Still you can't do ? then my last suggestion is (considering that the table in which you are working is a Fact/detail table) -

Delete the existing rows with old keys and then Insert the new rows with new keys

Please update the Subject to something like "updating key column"
by arunpramanik
Wed Aug 04, 2010 4:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to fire an update query using datastage job?
Replies: 23
Views: 17786

qutesanju wrote: input query -->transformer-->database table
Can you share the stage used and the Update statement used in stage