How to check related index Databases when IMAGE COPYING a main Database?

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

Question:

Is it possible also to check the related INDEX databases if Database Analyzer (DBA) will be invoked by Database Copier (DBCOPY) to check the pointers of a MAIN database while image-copying it?

Answer:

Yes, in addition to using option DETAILREPORT=Y with DBCOPY to invoke DBA to check the main database pointers, use this additional DD statement with the DBCOPY job control to also check all related index databases (AND logical related databases, if applicable):

 //DBACTRL DD *
 FUNCTION=ANALYZEALL

Additionally all index databases (and/or the logical related databases) must be dynamically allocated or their DD statements must be added to the DBCOPY job control.