Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 30th, 2008, 10:43 PM
Newbie
 
Join Date: Sep 2008
Posts: 1
Default DB2LOOK Privileges

I have a dilema where I want to run DB2LOOK to keep copies of our table DDL's and procedures for our schema. the problem is that we do not even have select privilege for the SYSCAT schema, which stops the DB2LOOK with authority errors. This is one of those situations where we are using the schema on another companys computer and database that we compete with so they do not want us to see their tables/columns etc that would be in the syscat schema. We use a Federated View of their data. So I am wondering if there is a way of resolving this by having a procedure or script that would contain the DB2LOOK command that we could execute but could not alter to satisfy there concerns. I am not sure if DB2LOOK can be executed from anywhere but the CLP. Another solution would be if to limit data within the syscat table but I don't believe there is anyway to seperate there syscat data from our throughout the tables.

They are willing to run the DB2LOOK for us but our stored procedures are proprietary.
Reply
  #2  
Old October 1st, 2008, 09:19 AM
sakumar9's Avatar
Expert
 
Join Date: Jan 2008
Location: Bangalore
Age: 27
Posts: 127
Default

By the way, you can run db2look on a set of schemas as well. Maybe you can try excluding SYSCAT schema of possible.

Complete syntax might help.
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.admin.cmd.doc/doc/r0002051.html
Reply
Reply

Bookmarks

Thread Tools

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles