Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DB2 Load Utility DSNUPROC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: DB2 Load Utility DSNUPROC
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Wed Nov 12, 2008 5:27 pm    Post subject: Reply to: DB2 Load Utility DSNUPROC
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    Post subject: Reply to: DB2 Load Utility DSNUPROC
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: 2276
Location: @my desk

PostPosted: Wed Nov 12, 2008 8:39 pm    Post subject:
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

Site Director


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

PostPosted: Wed Nov 12, 2008 9:46 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us