Skip to main content

How to Rename a Library after Testing

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.

  1. Remove all PKWARE libraries from your library list.

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

    CODE
    RNMOBJ OBJ(ProdLIB) OBJTYPE(*LIB) NEWOBJ(ProdOLD)
  3. Rename the Test library to the Production library name:

    CODE
    RNMOBJ OBJ(TestLIB) OBJTYPE(*LIB) NEWOBJ(ProdLIB)
  4. Add this library (with its new name) to your list:
  5. ADDLIBLE ProdLIB
  6. Reset the PK Internal Pointers:

    CODE
        CALL PKZSETLIB ProdLIB

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.