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
 

 

To view DDL

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

Active User


Joined: 17 Nov 2009
Posts: 122
Location: India

PostPosted: Mon Apr 12, 2010 4:36 pm    Post subject: To view DDL
Reply with quote

Is it possible to view DDL staements for already created tables in DB2 Catalog?

Please suggest.
Back to top
View user's profile Send private message

sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Mon Apr 12, 2010 5:40 pm    Post subject:
Reply with quote

Ofcourse Yes, If you have RC/Query or with other tools also its possible i guess. What tool do you have in your place ?

Sushanth
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Mon Apr 12, 2010 11:33 pm    Post subject:
Reply with quote

DCLGEN also has the DECLARE TABLE statement which can be considered as DDL. You have to let us know what you are trying to find out from the DDL then we may be able to give better suggestions.
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 122
Location: India

PostPosted: Tue Apr 13, 2010 9:48 am    Post subject:
Reply with quote

I actually want to know the constraints of any table which were mentioned by create or alter DDL statements.

Thanks.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Tue Apr 13, 2010 8:12 pm    Post subject:
Reply with quote

Constraint information can be found out from the catalog tables.
Click Here for more information.
Every site I have worked for had a metadata store/db2 cross reference where I could refer for more information about any existing table. Talk to your peers/seniors in the project, to find out if you have equivalent alternative available at your site.
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 REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am
No new posts How to see VIEW definition from BMC c... rohanthengal DB2 1 Thu May 04, 2017 1:50 pm
No new posts Help Needed with View Direct shailesh_do CA Products 2 Wed Jul 13, 2016 10:39 am
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm
No new posts Report view in Mobile devices Robert Sample All Other Mainframe Topics 0 Thu Jun 23, 2016 7:05 pm


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