The YCPYMDLOBJ command includes a parameter, CPYOPT, with an option that lets you check the objects before they are copied.
The default CPYOPT(*PREPASS) option lets you check for discrepancies between the models before copying the objects. The command expands the list of objects specified for copying and compares the selected objects against those in the target model but does not copy the objects. A report generates, which lists any discrepancies between the models. These discrepancies fall into two categories:
For example, the target model may contain fewer referenced objects than the source model.CA 2E can resolve the discrepancy by replacing the existing object in the target model with the new version from the source model.
A direct conflict exists between the object in the source model and the one in the target model.CA 2E cannot resolve the discrepancy. You must resolve the conflict before the copy can continue. Errors are identified by the message *ERROR.
All messages reside in the Y2MSG file. You can obtain more information about a message by using the Display Message Description (DSPMSGD) command to examine the second level text for the message.
If the report contains only warnings or no discrepancies, you can rerun YCPYMDLOBJ, using the *COPY option. You must resolve all errors before you can successfully rerun the copy. Actions you can take include:
To reduce the volume of the report you can use the SEVFLT parameter to omit various categories of warnings.
|
Copyright © 2014 CA.
All rights reserved.
|
|