Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Getting issue in revoking PUBLIC AT ALL LOCATION in V10

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Thu Nov 29, 2012 4:37 pm    Post subject: Getting issue in revoking PUBLIC AT ALL LOCATION in V10
Reply with quote

Hi All,

We have recently migrated our DB2 from V9 to V10. We have tables which have authorization as below
For example Y2002.CLM table has below authorization of table

Code:
Grantor  Grantee  T Schema   Name
*        *        * *        *   
-------- -------- - -------- -----
Y2002    Y2002      Y2002    CLM 
DBAADMT4 PUBLIC*    Y2002    CLM 

We want to revoke access from PUBLIC at all location

Tried couple of options but nothing is working like
Code:

   REVOKE ALL ON TABLE Y2002.CLM FROM PUBLIC AT ALL LOCATIONS;                 
SQLERROR ON   REVOKE    COMMAND, PREPARE   FUNCTION                             
 RESULT OF SQL STATEMENT:                                                       
 DSNT408I SQLCODE = -199, ERROR:  ILLEGAL USE OF KEYWORD AT.  TOKEN <END-OF-STAT
 DSNT418I SQLSTATE   = 42601 SQLSTATE RETURN CODE                               
 DSNT415I SQLERRP    = DSNHPARS SQL PROCEDURE DETECTING ERROR                   
 DSNT416I SQLERRD    = 2  0  0  -1  43  506 SQL DIAGNOSTIC INFORMATION         
 DSNT416I SQLERRD    = X'00000002'  X'00000000'  X'00000000'  X'FFFFFFFF'  X'000
          INFORMATION                                                           


Please advise how we can rvoke this access except dropping and recreating table.
Back to top
View user's profile Send private message

GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Fri Nov 30, 2012 4:57 pm    Post subject:
Reply with quote

REVOKE ALL ON Y2002.CLM FROM PUBLIC AT ALL LOCATIONS;
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Tue Dec 18, 2012 10:15 pm    Post subject:
Reply with quote

Its not working guyc
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1869
Location: UK

PostPosted: Wed Dec 19, 2012 2:08 am    Post subject:
Reply with quote

Quote:
Its not working

How about the rest of your post explaining in which way it is not working?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1775
Location: Bloomington, IL

PostPosted: Wed Dec 19, 2012 2:10 am    Post subject:
Reply with quote

Nic Clouston wrote:
Quote:
Its not working

How about the rest of your post explaining in which way it is not working?

The board's not working, either icon_lol.gif
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 Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am
No new posts copying data without knowing location Arun Raj DFSORT/ICETOOL 12 Thu Jul 20, 2017 1:03 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts DFHRESPONSE returns issue divated CICS 3 Wed Nov 02, 2016 6:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us