Solved

I need to rename a library on my system  .How would I do that?

Posted on 2004-03-22
3
2,836 Views
Last Modified: 2008-03-17
I need to rename a library on my system.  The reason I need to rename it is so that I can restore a library off a tape and still have my current library saved but as something else?  How would I rename a library?
0
Comment
Question by:patbrowne03
3 Comments
 
LVL 1

Expert Comment

by:Helixir
ID: 10653052
With STRPDM, option 1 manage library.

You'll notice the option 7 to rename your library !!

Just to let you know that if the Lib is in use (even by a Library List) you wont be able to rename it !!

You know that you could restore your library from your tape on another name !!

Or you could do WRKLIB Mylib  and chose to copy it, it could resolve a lock problem !!
0
 
LVL 6

Accepted Solution

by:
dedy_djajapermana earned 125 total points
ID: 10654681
To rename a library:
RNMOBJ OBJ(OLDNAME) OBJTYPE(*LIB) NEWOBJ(NEWNAME)

It is better to RESTORE the library into a different name:
RSTLIB SAVLIB(LIBNAME) DEV(TAP01) RSTLIB(NEWNAME)
where LIBNAME is the library name as saved on tape, and NEWNAME is the library name in the system upon restore


0
 
LVL 3

Expert Comment

by:Mind_nl
ID: 10667098
STRPDM option 1

use WRKOBJLCK OBJ([library name]) OBJTYPE(*LIB) to see who is locking the library.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

A safe way to clean winsxs folder from your windows server 2008 R2 editions
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now