View previous topic :: View next topic
|
Author |
Message |
santoshkumarmanilakkoju
New User
Joined: 24 Nov 2009 Posts: 37 Location: Don't know
|
|
|
|
Hi,
I know a table name and its corresponding database name in production sub-system DB2.
I want to know corresponding db name for the table in test subsytem DB2Q/DB2T.
Ex:NNDB2M.T_OMR_RQST is the name in production sub-system.
Please let me know if there is a way to find out the corrsponding name in test i.e. ?.T_OMR_RQST |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
other than asking someone, like DBA,
I would- look in JES and find the DB2 started tasks
- look at a bind for a module in test/quality control environments
|
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Santosh,
Try this in your test sub-systems,
Code: |
Select dbname,creator,name from sysibm.systables
where name like '%T_OMR_RQST%';
|
Sushanth |
|
Back to top |
|
|
santoshkumarmanilakkoju
New User
Joined: 24 Nov 2009 Posts: 37 Location: Don't know
|
|
|
|
Thank you Sushanth It worked.
My be my question was not clear.
It was to know the creator name of a table in a particulat DB2 sub-system
I tried this and it worked.
SELECT CREATOR FROM SYSIBM.SYSTABLES
WHERE NAME = 'T_OMR_RQST'; |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
I am glad it worked, thanks for letting us know santosh.
As dbz said, you can also look creator name of the table in bind statement QUALIFIER option.
Sushanth |
|
Back to top |
|
|
|