Previous Topic: Performing User-defined Actions on Model List EntriesNext Topic: Using Substitution Variables


Copying Model Objects Between Models

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:

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.