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:CODE
RNMOBJ OBJ(TestLIB) OBJTYPE(*LIB) NEWOBJ(ProdLIB)
library (with its
name) to your list:
Reset the PK Internal Pointers:CODE
CALL PKZSETLIB ProdLIB