When YCPYMDLOBJ copies the selected entries to the target it matches objects between the two models by owner, name and type. By default, an object in the source model is copied to the target model using the same object name. You can override this default by specifying a different name for an object in the target model; two reasons you may need to do this are:
The YCPYMDLOBJ command includes a prepass option that lets you compare objects by name within object type. A prepass report generates with diagnostic messages that indicate discrepancies. The default selection for this option causes the copy process to stop so that you can resolve discrepancies before you proceed with the copy. If you want the object to be copied but do not want to overwrite the corresponding object in the target model, you can rename it in the model object list. The object is copied into the target model without replacing the existing version.
Note: The object in the source model is not renamed.
To rename an object in a model object list:
You can make the rename more permanent by changing the Copy name for an object using the Change Model Object Description (YCHGMDLOD) command; as a result, any new model object lists containing the object will automatically be renamed for purposes of copy.
To avoid problems when copying objects from one model to another, consider the following:
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |