CPCSYSIN commands for the SP utility - Documentation for BMC AMI Database Advisor for IMS 3.1
Emma Powell FDIAG
Use the FDIAG command to obtain diagnostic information about repository data sets in the specified data groups. This command produces the same VSAM statistical information that the FREPT command produces and, in addition, verifies pointers and produces a report on free space blocks. The utility issues error messages to indicate incorrect free space information, pointer verification problems, and thresholds that are exceeded for extents.
FMIGR
Use the FMIGR GROUP(ALL) command to migrate repositories to new revision levels. (Do not specify the DATAGROUP keyword for this command except at the request of BMC Customer Support.) In most cases, you should allow the CPC to perform the repository migration process automatically. To process the FMIGR command, the utility requires the CPC subsystem to be inactive.
The migration is performed as follows:
The utility unloads all repository data to the file that is identified by the UNLOAD DD statement in the JCL.
The utility determines whether the revision level in the software DDEFs matches the DDEF level in the catalog for each repository. (The STEPLIB concatenation must contain the new software level). If the software revision level does not match the repository revision level, the utility rebuilds or migrates the repository to the new software level.
The utility updates the catalog with the new repository data set information.
If you must restore a repository after using the FMIGR command, you can use the FRELOAD GROUP(ALL) command, change the STEPLIB to the previous level of the software, and specify the original unload file.