If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Database READ ONLY Mode possible on iSeries?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-27-05, 13:26
jmulholland jmulholland is offline
Registered User
 
Join Date: Oct 2005
Posts: 2
Question Database READ ONLY Mode possible on iSeries?

We have 3 legacy DB2/UDB databases on our iSeries that I would like to "retire" in 2006. I want to have these databases available for queries only going forward, both SQL and available to the ERP package we have called CMS5i. Is there anyway to bring these databases up in READ ONLY mode, so that any attempt to alter the data (either by SQL or via ERP package) would be rejected?

I have heard from the ERP vendor that READ ONLY for the physical files is not possible, that we need to create special login accounts that are restricted. I wish to avoid this route, if possible.

Thanks much
Jim
Reply With Quote
  #2 (permalink)  
Old 10-27-05, 13:39
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Can't you just revoke UPDATE/INSERT/DELETE privileges from the existing user ids?
Reply With Quote
  #3 (permalink)  
Old 10-27-05, 15:27
jmulholland jmulholland is offline
Registered User
 
Join Date: Oct 2005
Posts: 2
I am trying the revoke solution, using the RvkObjAut command, but I am not having too much success. Also, there are 120+ users and 2000+ objects, so that is a alot of commands to process.

I am hoping there is an easier way to do this, let me know if you have a smarter way.

Thanks
Jim
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On