Catsync: Multiple Databases
search cancel

Catsync: Multiple Databases

book

Article ID: 51491

calendar_today

Updated On:

Products

Repository

Issue/Introduction

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

 

Environment

Component: XD2

Resolution

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 Repository for z/OS RDBMS Administrator Guide.