You can use Catalog Sync to synchronize CA Repository for z/OS with DB2 catalogs located in:
Note: IBM refers to foreign subsystems on both local and remote CPUs as remote subsystems.
Synchronizing the repository with a foreign subsystem requires that you first set up Catalog Sync for use with the foreign subsystem. Use the following procedure.
Note: You must perform this one-time setup for each foreign subsystem you plan to synchronize with the repository.
Once you set up the foreign subsystem, you can synchronize it with the repository as often as needed, using the procedure described later in this chapter.
To set up Catalog Sync for use with a foreign subsystem
------------------ CA Repository for z/OS ------------
---------------------------- DB2 Plans and Packages --------------------- COMMAND ===> Prepare Packages ... Utility, All, or Foreign packages? ===> F (U, A, F)
Set SQLID to? ===> BIND Plans? ===> Y (Y-yes,N-no) Auth ID of Plan? ===> Grant to PUBLIC? ===> N (Y-yes,N-no) Foreign Cat SSIDs? ===> D71A ===> D71B ===> D71C Foreign Cat DB2VER? ===> 7 ===> 7 ===> 7 Edit or Submit? ===> E (E-edit,S-submit) Save Output? ===> N (Y-yes,N-no) Output Data Set ===>
Enter ENTER command to continue or END command to EXIT.
|
Field |
Enter |
|
|---|---|---|
|
Util, All or Foreign Packages |
F |
|
|
Set SQLID to |
The SQL ID under which you want to execute the binds |
|
|
Bind Plans |
Y |
|
|
AUTHID of Plan |
If needed, the appropriate authorization ID of the Plan name |
|
|
Grant to PUBLIC |
Y |
|
|
Foreign Cat SSIDs |
The foreign subsystem ID |
|
|
Foreign CAT DB2VER |
Version of the foreign subsystem |
|
|
Edit or Submit |
E |
|
|
Save Output |
N |
|
|
Output Data Set |
The fully qualified name (without quotation marks) of the partitioned data set you want to use to save the JCL that this step generates |
|
Note: If the foreign subsystem is on a remote CPU, you may need to copy the bind JCL to that CPU and modify it before execution.
To run Catalog Sync for a foreign subsystem:
Note: Make sure that you specified the correct foreign subsystem name in the DB2 CATALOG SUBSYSTEM? field before you press Enter to display the generated Catalog Sync JCL. If you specified the correct name, you can safely ignore the Call Attach error CA Repository for z/OS displays before displaying the generated JCL.
// SYSIN DD *
DATABASE//DBNAME TBSPACE//TSNAME//DBNAME TABLE//TBNAME//CREATOR//DBNAME VIEW//VWNAME//CREATOR DATATYPE//DTNAME//CREATOR For Databases For Table Spaces For Tables For Views (Database Name) (Table Space Name) (Name of Database containing Table Space) (Table Name) (Table Creator) (Name of Database containing Table) (View Name) (View Creator) For Distinct data type (Distinct Datatype Name) (Distinct Datatype Creator)
Note: Long names can span multiple input lines by placing a + (plus) in position 80.
Note: If the foreign subsystem is on a remote CPU, you may need to copy the Catalog Sync JCL to that CPU and modify it before execution.
| Copyright © 2009 CA. All rights reserved. | Email CA about this topic |