There is no automated process but have a procedure that will unload the current version of a Librarian member plus 9 archive levels to a set of PDS libraries and then create the Endevor ADD SCL.
See the attached LIBR2NDVR.zip file.
LIBR2NDV.txt is the sample JCL to modify and use.
The LIBR2NDV job contains the following steps:
- The first step runs a Master Index report for the Master file to be unloaded.
- The next step executes the REXX routine LIBRSEL which reads the Master Index report and builds the Librarian -SEL statements in the STREAMx files.
- The STREAMx files are then input into a series of Librarian AFOLIBR steps that unload the Librarian members to the SRCLIBx library and creates LISTHx files.
- The final set of steps execute the REXX routine LIBRADD which reads the LISTHx files and build the Endevor ADD SCL statements in the SCLx libraries.
>+>+>>+>+>>+>+>>+>+>>+>+>>+>+>>+>+>>+>+>+>+<+<+<<+<+<<+<+<<+<+<<+<+<<+<+<<+<+<<+<+<<+<+<<+<+<
>+>+> Disclaimer: <+<+<>+>+> This is a sample process. These are sample REXX routines and are not supported by CA Technologies.
<+<+<>+>+> You can modify this process and the REXX routines to meet your specific requirements.
<+<+<
>+>+>>+>+>>+>+>>+>+>>+>+>>+>+>>+>+>>+>+>+>+<+<+<<+<+<<+<+<<+<+<<+<+<<+<+<<+<+<<+<+<<+<+<<+<+<