Use the Copy Model Object (YCPYMDLOBJ) command to copy model objects between models. This command requires an input model object list of the model objects you want to copy. This can be an existing model object list (for example, your session list) or you can create one using one of the model object list commands, such as the Build a Model Object List (YBLDMDLLST) command.
In addition, you need to explicitly select the model objects to be copied from the input model object list. Use one of the following to select model objects:
Type 1 against the model objects you want to select for copying. To select all list entries, type 1 for the first model object displayed, press F13 to repeat the selection for all list entries, and press Enter. An '*' will appear in the Copy Select field of each selected model object.
Use option 9 to deselect a selected model object. Option 7 lets you rename a model list entry for the purpose of copying to avoid conflicts with objects with the same owner/name/type in the target model.
Use the edited model object list as input to the YCPYMDLOBJ command.
Note: To prepare a list for copying, you should use only the model object list commands; for example, YBLDMDLLST, and/or the YEDTCPYLST command. The Build Copy List (YBLDCPYLST) command is available only for backward compatibility with previous releases of and should not be used.
Selected model objects will contain a "*" in the Copy Select field on the Edit Model Object List for Copy panel. After you run the YCPYMDLOBJ command, any implicitly selected model objects will contain a "!" in the Copy Select field. To view the implicitly selected objects before copying, run the YCPYMDLOBJ command in *PREPASS mode.
For more information on the YCPYMDLOBJ process, see the Administrator Guide.
|
Copyright © 2014 CA.
All rights reserved.
|
|