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.

  • Remove all PKWARE libraries from your library list.

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

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


  • Rename the Test library to the Production library name:

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

  • ADDLIBLE ProdLIB

  • 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.