Child pages
  • How to Rename a Library after Testing
Skip to end of metadata
Go to start of metadata

Step-by-step guide

After you've completed testing a new version in your environment, you will need to free up the production name so that you can move the newly tested version into production.

  • Remove all PKWARE libraries from your library list.

  • Rename the current Production library, to free up its name:

  • RNMOBJ OBJ(ProdLIB) OBJTYPE(*LIB) NEWOBJ(ProdOLD)


  • Rename the Test library to the Production library name:

    RNMOBJ OBJ(TestLIB) OBJTYPE(*LIB) NEWOBJ(ProdLIB)
  • Add this library (with its new name) to your list:

  • ADDLIBLE ProdLIB

  • Reset the PK Internal Pointers:

        CALL PKZSETLIB ProdLIB