Catsync: Multiple Databases

Document ID : KB000051491
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Is it possible to catsync 2 or more different databases at the same time into the repository?

Solution:

You can sync more than one database at the same time into the Repository.
In the VIEW step of the catsync JCL is the SYSIN statement containing the input to the job stream. This is where you would specify any additional databases.
In the following example I would like to catsync the following two databases(TEST1 + TEST2)

     * 
      //SYSIN DD * 
      DATABASE//TEST1 
      DATABASE//TEST2 
      * 

For more information regarding the SYSIN statement in the catsync JCL refer to page 7-17 in the CA Repository for z/OS RDBMS Administrator Guide.