IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DB2 Load Utility DSNUPROC


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Nagendran

New User


Joined: 24 Jan 2007
Posts: 89
Location: USA

PostPosted: Wed Nov 12, 2008 5:11 pm
Reply with quote

Hi,
I am running a DB2 load utiliy (DSNUPROC), since the utility is holding exclusive lock on the table all the online screens which is accessing the table are abending.(Resource is Not availabe, SQL code -904).

Is there any way to avoid this exclusive lock. I want my online screens to access the DB2 table when the Utility is running. Is there any way to do this.....

Will unload utility also put exclusive lock on the table?


Thanks,
Nagendran.R
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Nov 12, 2008 5:27 pm
Reply with quote

I suspect a poor planning.....

how in &HEAVEN can You expect to do other useful processing while loading ?
what about data consistency icon_eek.gif

NO

YES

P.S.
review all the activities that have to be done when loading a table
Back to top
View user's profile Send private message
Nagendran

New User


Joined: 24 Jan 2007
Posts: 89
Location: USA

PostPosted: Wed Nov 12, 2008 8:18 pm
Reply with quote

Hi,

thanks for ur response..

Will unload job also put exclusive lock on the table?


thanks,
Nagu
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Wed Nov 12, 2008 8:39 pm
Reply with quote

Quote:
Will unload job also put exclusive lock on the table?

Depends on the options you specify in your unload card
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Nov 12, 2008 9:46 pm
Reply with quote

Hello,

What use is an unload if the data being unloaded is being changed while the unload is running?

If the goal is to get some "real" test data, this might be ok, but i would not want such a file to be used for production reporting or providing data to some other system.

As Enrico mentioned - poor planning. . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts How to load to DB2 with column level ... DB2 6
No new posts REASON 00D70014 in load utility DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts DB2 Load - Sort Or order BY DB2 1
Search our Forums:

Back to Top