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

How to renaming the Current Active log in DB2 v9?


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

New User


Joined: 30 Aug 2010
Posts: 5
Location: Mumbai

PostPosted: Thu Feb 24, 2011 8:01 pm
Reply with quote

Hi Friends

I want to rename the current active log VSAM dataset.

Please give the step by step procedure since I am new to DBA.

Thanks in Advance.


Regards
Dinesh Kanna S
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Thu Feb 24, 2011 8:07 pm
Reply with quote

a simple google : db2 renaming active log dataset

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.db29.doc.ugref/db2z_renamedb2activelogdatasets.htm
Back to top
View user's profile Send private message
dineshkannas

New User


Joined: 30 Aug 2010
Posts: 5
Location: Mumbai

PostPosted: Fri Feb 25, 2011 11:57 am
Reply with quote

Thanks for your valuable reply.

I knew this method. Is there any other method to renaming the Current active Log?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Feb 25, 2011 12:09 pm
Reply with quote

if that method works, any reason to look for something different ?
Back to top
View user's profile Send private message
dineshkannas

New User


Joined: 30 Aug 2010
Posts: 5
Location: Mumbai

PostPosted: Fri Feb 25, 2011 5:02 pm
Reply with quote

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.db29.doc.ugref/db2z_renamedb2activelogdatasets.htm

this method requires DB2 to be down for two times and force log also.
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Fri Feb 25, 2011 5:59 pm
Reply with quote

Renaming the active log dataset is not something you have to do every day.
In fact I never had to do that.
Back to top
View user's profile Send private message
dineshkannas

New User


Joined: 30 Aug 2010
Posts: 5
Location: Mumbai

PostPosted: Sat Feb 26, 2011 7:10 pm
Reply with quote

We have 150 subsystem in our environment.
so restarting db2 twice will be cumbersome task.

So Let me know some other alternative solution.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Feb 27, 2011 1:09 am
Reply with quote

Hello,

Why does someone believe this is even necessary. . .

Many (most?) places do not do this regularly if at all.

Why does your system need this 150 places. . . icon_confused.gif

If this is actually to be done, suggest you follow the already documented/accepted method and not implement something else.
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 To get the the current time DFSORT/ICETOOL 13
No new posts Changeman - how can we know the curr... Compuware & Other Tools 2
No new posts Fetch data from programs execute (dat... DB2 3
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
Search our Forums:

Back to Top