intend to copy a data areaUse the LINK function to link each index area and each data area in one database to a CXX without performing the INIT function. This would only be appropriate if you rename the CXX or copy a data area using a utility other than DBUTLTY to move data from one CXX to another.
If you intend to copy a data area data set from one CXX to another using a utility other than DBUTLTY to backup/load the data area, it is still necessary to do the following:
The LINK function opens tables in all areas of the specified database. Use this function only when all areas have been initialized and the data areas loaded.
The Accounting Facility tables must all be defined as closed during a MUF enable before the LINK function can perform properly. After enabling the MUF, you can perform the LINK function for the Accounting Facility PRM and data area database(s) and then open the desired tables.
You cannot use the LINK function to fix the Compound Boolean Selection Index Area. You must use the INIT function for the Compound Boolean Selection Index Area. See the CA Datacom/DB Database and System Administration Guide for more information.
With Simplify mode, the function can be executed in a DBUTLTY step with the MUF not enabled, for example immediately after a CXX is initialized with a different name and loaded from a backup. If MUF is enabled as is required without Simplify, the other rules apply about databases not being opened before the LINK is executed.
Each area of the database is attempted to be opened, and if the open is successful the LINK performs the action. For each individual area that cannot be opened and read, the action does not occur. A report then reports each area, the actions taken, and any error encountered.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|