How to update the source table in the same job?

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

On the source SQL. It should be an option. Read help on the choices. You will understand why.
Mamu Kim
dohertys
Participant
Posts: 39
Joined: Thu Oct 11, 2007 3:26 am
Location: Sheffield

Post by dohertys »

Does this (setting ur) have to be done as 'user defined' sql then - or can it be done on any of the other 'Read methods'?

Or should you 'set change isolation to ur' as an 'Open Command' (would that work?)
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Depends on your source database and stage chosen. In SQL Server you could do a (NOLOCK) with User Defined. Some stage types have this in the options. Even though you may need a no lock as well as the option.
Mamu Kim
Post Reply