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

ddl extraction


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

New User


Joined: 20 Feb 2006
Posts: 34

PostPosted: Tue Feb 28, 2006 6:23 pm
Reply with quote

hi,

could somebody tell me how to extract ddls of tables from db2 on mainframes.

thanks in advance

regards
rashmi
Back to top
View user's profile Send private message
ragshere

New User


Joined: 20 Dec 2004
Posts: 70

PostPosted: Tue Feb 28, 2006 6:43 pm
Reply with quote

Hi rashmi,
In IBM , you can use ADBGEN utility. there are different tools in different companies for DDL extraction.


Thanks
Rags
Back to top
View user's profile Send private message
venky5436

New User


Joined: 06 Dec 2005
Posts: 12

PostPosted: Fri Mar 17, 2006 3:22 am
Reply with quote

Extract DDL in DB2 on Unix use db2look

No idea about mainframes.
Back to top
View user's profile Send private message
astro

New User


Joined: 08 Mar 2006
Posts: 3

PostPosted: Fri Mar 17, 2006 4:38 pm
Reply with quote

One quick way in mainframes: if you have access to ADBL(DB2 Administration Tool Set ) utility, after selecting the required table, You can type ddl in the command line and press Enter key to get the ddl of that table.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 6:28 pm
Reply with quote

hy rashmi,

how you want to extract the ddl,
in batch or online?
in online: go to the db2 administrator from
ispf primary option menu, choose option g.d.2.a
and before any object like table, tablespace, database....
you can type the line command ddl. the dialog will
extract this or at least will generate a job which will
do this. save that job for the next time so you can
use it also in batch....

martin9
Back to top
View user's profile Send private message
rashmi.ranjan75

New User


Joined: 20 Feb 2006
Posts: 34

PostPosted: Wed Mar 29, 2006 3:33 pm
Reply with quote

thanks for your inputs

regards
Rashmi
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Business Rule extraction CLIST & REXX 9
No new posts Record Extraction Mismatch from Header CLIST & REXX 3
No new posts Extended extraction DFSORT/ICETOOL 3
No new posts Record extraction using JCL Sort SYNCSORT 12
No new posts Extraction of applications and jobs p... IBM Tools 9
Search our Forums:

Back to Top