Commands (YCLRMDL - YDLTOBJTBL) › YCPYMDLOBJ (Copy Model Objects) Command › Parameters › EXPRQDOBJ
EXPRQDOBJ
This parameter is prompted when the Copy subfunctions parameter (CPYSUBFUN) is other than *ALL. It lets you specify the action to be taken when a function excluded by CPYSUBFUN does not exist in the target model. This is needed to prevent corruption of the target model or abnormal termination of the YCPYMDLOBJ command. Refer to the Notes section for details. Values for this parameter are described in the following:
- *NO—(default) Stop processing and send a message identifying the function that does not exist in the target model. You can then choose to take action to correct the problem; for example, you can explicitly select the excluded function for copy. You should specify *NO if you do not want unexpected objects copied to the target model.
- *YES—Expand references for the function and then continue normal processing. The function and any implicitly required objects that do not exist in the target model are copied. A report is produced to notify you of this action. This value effectively overrides the CPYSUBFUN parameter on an object by object basis.
- Specifying *YES improves the performance of YCPYMDLOBJ since subfunctions are only expanded when necessary. However, this can cause unexpected objects to be included in the copy. One solution is to run *YES in *PREPASS mode so you can examine any objects that were included unexpectedly before they are actually copied to the target model.
-