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
 

 

Db2 table creation History

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

New User


Joined: 19 Dec 2008
Posts: 13
Location: Hyderabad

PostPosted: Wed Jan 19, 2011 11:54 am    Post subject: Db2 table creation History
Reply with quote

Hi ,
Can anyone help me to "how can we know a db2 table creation history".

like
1) when the table is created
2) when a particular column has been added.. etc


Thanks in advance
Back to top
View user's profile Send private message

Dsingh29

Active User


Joined: 16 Dec 2008
Posts: 132
Location: IBM

PostPosted: Wed Jan 19, 2011 12:31 pm    Post subject:
Reply with quote

Hi Naga,

yes, very much..it can be done thru DB2 logs icon_razz.gif

Also, request you to go thru

http://ibmmainframes.com/about40106.html

http://ibm-mainframe-tips.blogspot.com/2008/10/who-updated-that-db2-table-how-to-read.html


hope this helps !!!
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Wed Jan 19, 2011 2:12 pm    Post subject:
Reply with quote

Dsingh29 wrote:
yes, very much..it can be done thru DB2 logs icon_razz.gif

I like to see you do it for for a table that was created 3 monts ago and somewhere within these three months 3 columns were added , 2 deleted and 1 altered. Good Luck!

Without decent change management tools/administration this can not be done.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Wed Jan 19, 2011 6:04 pm    Post subject:
Reply with quote

Naga,

Check the DB2 Catalogs,
Columns CREATEDTS, ALTEREDTS in SYSIBM.SYSTABLES
Columns CREATEDTS, ALTEREDTS in SYSIBM.SYSCOLUMNS

Thanks
Sushanth
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 Loading data to table gives wrong for... Raghu navaikulam DB2 16 Thu Jul 13, 2017 2:11 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts unload data from table with lob columns farhad_evan DB2 1 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


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