MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can a USER with no special rights create a table..?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
arshadh
Beginner


Joined: 10 Jan 2007
Posts: 33
Topics: 12

PostPosted: Wed Sep 12, 2007 10:51 am    Post subject: Can a USER with no special rights create a table..? Reply with quote

Is there any Tablespace in a particular Database into which an USER with no SYSADM or DBADM rights can create a table for test purpose?

Because one of tables have gone to CHKP state and I need to find rows that caused problem(lacking parent row) by creating an exception table.

For your Info:
Code:
 SELECT * FROM SYSIBM.SYSUSERAUTH   
  WHERE GRANTEE ='TSO ID';         


returned no rows...
Back to top
View user's profile Send private message
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Thu Sep 13, 2007 3:12 pm    Post subject: Reply with quote

run check data without DELETE YES first
no exception table needed, you can get the information whect broken RI exist.
and you can the get RID for the exception rows from check data output
Back to top
View user's profile Send private message
arshadh
Beginner


Joined: 10 Jan 2007
Posts: 33
Topics: 12

PostPosted: Mon Sep 24, 2007 6:59 am    Post subject: Reply with quote

Thanks Videlord,

I ran the Check DAta and got the Row id 's of troubling rows...

But How to associate the particular ROW ID with the row...Please help me..
Back to top
View user's profile Send private message
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Tue Sep 25, 2007 10:52 am    Post subject: Reply with quote

A little difficult to get the row by the RID, can you paste one line of the output?

The easist way is :
create exception table, run CHECK DATA with DELETE YES
Back to top
View user's profile Send private message
arshadh
Beginner


Joined: 10 Jan 2007
Posts: 33
Topics: 12

PostPosted: Thu Sep 27, 2007 11:59 pm    Post subject: Reply with quote

Thanks for your suggestions,,,,,
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group