Table lock

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
reddy
Premium Member
Premium Member
Posts: 168
Joined: Tue Dec 07, 2004 12:54 pm

Table lock

Post by reddy »

Hello Guys,

I created single Transform with 2 links one for update and another for Insert .like this
TX------>UPDATE
|
|
INSERT
I am updating and inserting SQL SERVER DATABASE.

while running the job it's locking the table.

I am getting following message:

LoadCustomerMasterPDROETest..Transformer_39.DSLink41: DSD.BCIClose call to SQLSetConnectOption(SQL.PRIVATE.TX) failed.
SQLSTATE=08S01, DBMS.CODE=0
[DataStage][SQL Client][ODBC][Microsoft][ODBC SQL Server Driver]Communication link failure

Thanks for help
Narasa
bryan
Participant
Posts: 91
Joined: Sat Feb 21, 2004 1:17 pm

Post by bryan »

hi reddy

Try changing the commit interval

I remember I set the update to 1 , by defualt its 0.


It will help people if you tell them whats your database and your commit intervals.

Let us know what were your commit intervals incase if this helps.
chucksmith
Premium Member
Premium Member
Posts: 385
Joined: Wed Jun 16, 2004 12:43 pm
Location: Virginia, USA
Contact:

Post by chucksmith »

But, a faster solution may be to stage one or both output links to sequential files, then you can apply your inserts followed by your updates with reasonable transaction sizes.
Post Reply