When you want to copy everything in a model to another model, use the CA 2E Copy Model (YCPYMDL) command. The YCPYMDL command copies an entire CA 2E model library into a new model or to an existing model. When you copy using this command, you cannot add to the contents of an existing model. The source model overwrites the target model if it exists.
If the target model does not exist, the YCPYMDL command creates the target model when it copies from the source model. Using this method is significantly faster than creating the target model first with the Create Model Library (YCRTMDLLIB) command, then separately executing the YCPYMDL command.
Note: The YCPYMDL command does not create the generation library for the target model.
You can use the YCPYMDL command to create models from your standards model. For example, to copy model MYSTDMDL to a model MYCOREMDL, that is created by the copy, you would enter the following and press Enter:
YCPYMDL FROMMDLLIB(MYSTDMDL) + TOMDLLIB(MYCOREMDL) CRTOPT(*YES)
|
Copyright © 2014 CA.
All rights reserved.
|
|