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 generate DDL for existing table???

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

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Fri Jan 12, 2007 10:30 am    Post subject: How to generate DDL for existing table???
Reply with quote

Hi

Could anyone please let me know how we can generate DDL for existing DB2 tables? We have Fileaid for DB3 in our shop....

Please do help

Cheers
Sowmya
Back to top
View user's profile Send private message

amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Fri Jan 12, 2007 1:18 pm    Post subject:
Reply with quote

Do you have BMC for DB2? Then go to BMC. Provide option 2. Then specify the table name. It will specify the table details i.e the table name, tablespace and other details. Just before the table name write ddl and press Enter. It will show you the DDL of the table you have specified.
Back to top
View user's profile Send private message
ssowmya

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Fri Jan 12, 2007 2:22 pm    Post subject: Re: How to generate DDL for existing table???
Reply with quote

Thank You....It worked for me.... icon_biggrin.gif
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Fri Jan 12, 2007 3:10 pm    Post subject: Re: How to generate DDL for existing table???
Reply with quote

Can I know What is BMC. please someone explain me..
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Fri Jan 12, 2007 3:32 pm    Post subject:
Reply with quote

BMC is a Software Administrative Products for DB2. You can load and extract DB2 data; view or use any DB2 objects. Its a very good software to handle with DB2.
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Fri Jan 12, 2007 3:39 pm    Post subject:
Reply with quote

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

New User


Joined: 12 Jan 2007
Posts: 9
Location: chennai

PostPosted: Fri Jan 12, 2007 3:58 pm    Post subject: Re: How to generate DDL for existing table???
Reply with quote

hi,
if u use platinum tool
in these tool we have to go option 2
there creating stratatey for tablespace,table,index,view,alias,sysnanioms

bye
shiva
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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts Updating online Db2 table kishpra DB2 3 Fri Aug 12, 2016 2:44 pm
No new posts Generate Cohort report using SORT Indrajit_57 SYNCSORT 6 Wed Jun 01, 2016 9:41 am


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