Move AS/400 library from one ASP to another

150 pts.
Tags:
AS/400
AS/400 ASP
OS/400
In our AS/400 environment, there are 2 different ASPs which named as 1 & 2. Now I want to move some libraries from ASP 1 to 2 since ASP 1 system usage is reaching 90%. Please assist me to do this. Thanks


Software/Hardware used:
OS400, AS400
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

This appears to be a duplicate request, see: (gone)

And the requester seems to have removed the thread and the good responses are no longer available to share.

The response included how to get the authorities correct when doing a savlib, and rstlib to another ASP.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • philpl1jb

    CpyLib and ChgLib don't appear to allow a change of ASP

    CrtLib <f4> <f9> will allow the creation of a new library in a specific asp.  So use CrtLib to create a new library (it cannot have the same name as an existing library) 

    For a small library I would use wrkobjpdm to move or copy the objects to the new library.  (although I'm not sure that move will work across ASP).

    For large libraries use SAVOBJ to a save file and restore object to the new library.

    Delete the old library

    use WSRKLIBPDM to rename the library

    54,090 pointsBadges:
    report
  • philpl1jb
    Make certain that the library object authority of the new library and of the new objects are the same as the old authorities.
    54,090 pointsBadges:
    report
  • Anshan

    Is this the only way to do this

    150 pointsBadges:
    report
  • philpl1jb

    No, and I don't have a system available to test it on.

    What should work is do a

    SAVLIB

    then rename or delete the original lib or restore it with a different name.

    RSTLIB

    Restore to ASP number . . . . . 2


    54,090 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: