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 renaming the Current Active log in DB2 v9?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: How to renaming the Current Active log in DB2 v9?
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: 1278
Location: Belgium

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

a simple google : db2 renaming active log dataset

http://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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Fri Feb 25, 2011 12:09 pm    Post subject: Reply to: How to renaming the Current Active log in DB2 v9?
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    Post subject:
Reply with quote

http://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: 1278
Location: Belgium

PostPosted: Fri Feb 25, 2011 5:59 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sun Feb 27, 2011 1:09 am    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts JCL to fetch schedule status from act... parasmalik20 CA Products 1 Thu Jun 02, 2016 7:11 pm
No new posts Retrieve current year or month using ... vnktrrd DFSORT/ICETOOL 15 Tue Mar 15, 2016 4:14 pm
No new posts DB2 - CURRENT DATE + 2 YRS logic balaji81_k DB2 3 Thu Nov 26, 2015 3:07 am


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