Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to display the structure of DB2 table?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: How to display the structure of DB2 table?
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Wed Apr 14, 2010 1:49 pm    Post subject: Reply to: How to display the structure of DB2 table?
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: 1224
Location: Israel

PostPosted: Wed Apr 14, 2010 2:10 pm    Post subject: Reply to: How to display the structure of DB2 table?
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    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 Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us