You cannot rename a model or a generation library while they are in use.
Prior to running the command, all journals and journal receivers must be removed from each library to be renamed.
If specifying a LIBL to be updated, the LIBL must exist at the start of running the command. If the only LIBL the user wants to update is the one that gets renamed from LIBLST to NEWLIBLST, the user should enter LIBLIST name for UPDLIBLST.
The command does the following:
If NEWMDLLIB is not *SAME, renames the model library, and changes the YMDLLIB model value to the value specified by NEWMDLLIB parameter.
If NEWGENLIB is not *SAME, renames the generation library, and changes the YGENLIB model value to the value specified by NEWGENLIB parameter.
If NEWLIBLST is not *SAME, and LIBLST is not *NONE, renames the library list to the value specified by NEWLIBLST parameter.
Updates library lists specified by the UPDLIBLST parameter for the renamed libraries.
If JOBD is not *NONE, changes the initial library list of the named job description to the value specified by NEWLIBLST parameter.
If you have an SQL collection, be aware that YRNMMDL will not rename the SQL collection.