Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Creator of Table is not My USER ID

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
Prem Prakash

New User


Joined: 07 Jan 2006
Posts: 6
Location: India

PostPosted: Tue Apr 11, 2006 2:37 pm    Post subject: Creator of Table is not My USER ID
Reply with quote

Hi all,
i have created some tables in this format, "AIS.Table_Name" using my mainframe ID. Now if i am querying in SYSIBM.SYSTABLES then its showing AIS as the creator of table, not my id!!!! what is the logic behind this:?:
Back to top
View user's profile Send private message
References
martin9

Active User


Joined: 01 Mar 2006
Posts: 278
Location: Basel, Switzerland

PostPosted: Tue Apr 11, 2006 2:47 pm    Post subject:
Reply with quote

hy Prem Prakash,

the field CREATOR is AIS, as you defined...
your userid is in the field TBCREATOR, which
takes its value from the current SQLID, which
is normally identical to your userid.
you can change this value with the SET SQLID=,
but you need to specify any other id, which you
have authoriries too. (i.e. SYSADM, DBADM...)

martin9
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1