Solved

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

Posted on 2004-03-22
3
3,220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configuring Remote Assistance for use with SCCM
Check out this step-by-step guide for asking an anonymous question on Experts Exchange.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Suggested Courses

734 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