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: 10211
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: 2181
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 TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
No new posts Any docs / links for isub- cobol comp... SRICOBSAS COBOL Programming 4 Fri Aug 26, 2016 2:35 pm


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