IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to display the structure of DB2 table?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vd123

New User


Joined: 30 Jul 2009
Posts: 7
Location: Pune

PostPosted: Wed Apr 14, 2010 12:29 pm
Reply with quote

I wan to see all the specifications related to a DB2 table?
How can we achieve this using SPUFI?

Thanks
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10900
Location: italy

PostPosted: Wed Apr 14, 2010 1:49 pm
Reply with quote

SPUFI is just a smart interface to run queries
is not a <data aware> thing

You can find the info You look for by running the appropriate queries on the DB2 catalog tables ( SYSIBM. stuff )

or ask Your peers if some DATABASE ADMINISTRATION TOOL is available in Your organization
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1356
Location: Israel

PostPosted: Wed Apr 14, 2010 2:10 pm
Reply with quote

Quote:
all the specifications related to a DB2 table
are stored in many... DB2 tables!
Depending on the specification you want, you can access one of the many SYSIBM.SYSxxxx tables.
For example, the table columns can be found with:
Code:
SELECT
   *
FROM
   SYSIBM.SYSCOLUMNS
WHERE
   TBNAME = 'tablename'
ORDER BY
   COLNO
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts Unload and Load ISPF Table TSO/ISPF 4
No new posts ISPF Table to add a new column TSO/ISPF 1
Search our Forums:


Back to Top