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 > db2look from DB2 9.7 to DB2 9.5

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-13-09, 09:52
OSSGeek OSSGeek is offline
Registered User
 
Join Date: Nov 2009
Posts: 7
Question db2look from DB2 9.7 to DB2 9.5

Hi,

I have a db2look output from DB2 v9.7 and it has statements that I can't run on DB2 9.5, any suggestions what should I use instead these statements...

Code:
GRANT DBADM WITHOUT DATAACCESS WITHOUT ACCESSCTRL ON DATABASE  TO GROUP "ADMIN   " ;

GRANT DATAACCESS ON DATABASE  TO GROUP "ADMIN   " ;

GRANT ACCESSCTRL ON DATABASE  TO GROUP "ADMIN   " ;

GRANT DBADM WITHOUT DATAACCESS WITHOUT ACCESSCTRL ON DATABASE  TO GROUP "BANKSGIX" ;

GRANT DATAACCESS ON DATABASE  TO GROUP "BANKSGIX" ;

GRANT ACCESSCTRL ON DATABASE  TO GROUP "BANKSGIX" ;
Reply With Quote
  #2 (permalink)  
Old 11-13-09, 10:31
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
AFAIK, these are new 9.7 features ...
Quote:
Originally Posted by OSSGeek View Post
Hi,

I have a db2look output from DB2 v9.7 and it has statements that I can't run on DB2 9.5, any suggestions what should I use instead these statements...
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 11-13-09, 10:47
OSSGeek OSSGeek is offline
Registered User
 
Join Date: Nov 2009
Posts: 7
Yes, these are new features in 9.7 and I need some help to change my db2look script to be compatible with DB2 9.5
Reply With Quote
  #4 (permalink)  
Old 11-13-09, 12:24
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You will have to remove them and grant access in some other way. For example DATAACCESS grants the authority to:
  • Select, insert, update, delete, and load data
  • Execute any package
  • Execute any routine (except audit routines)
You can grant these privileges individually in 9.5, although you will have write a script to grant to each specific table using the list of tables in syscat.tables. Load is granted at the database level.

You can grant to the same groups in 9.5 (Users and Groups must be defined at the OS level).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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