Previous Topic: Contents of Models Before and After Copy

Next Topic: YCRTGENOBJ (Create Generation Objects) Command

Relationship of CPYSUBFUN and EXPRQDOBJ Parameters

 

Expand Required Objects
(EXPRQDOBJ = Y)

 

Do NOT Expand Required Objects (EXPRQDOBJ = N)

 

 

Function exists in target model

Function does NOT exist in target model

Function exists in target model

Function does NOT exist in target model

CPYSUBFUN qualifies function for expansion of references

Function expanded but not copied. (1)

Function expanded and copied. (2)

Function expanded but not copied. (1)

Function expanded and copied. (2)

CPYSUBFUN does NOT qualify function for expansion of references

Function neither expanded nor copied. Processing continues normally. (3)

Function expanded and copied. (4)

Function neither expanded nor copied. Processing continues normally. (3)

Function neither expanded nor copied. Processing stops. (5)

Notes:

1.The function is not copied since it already exists in the target model; however, implicitly required objects that do not exist in the target model are copied. Use these settings in *PREPASS mode to identify new objects that have not been explicitly selected and may need to be copied.

2. The function is copied because it does not exist in the target model. Implicitly required objects that do not exist in the target model are always copied.

3. These settings improve performance since functions that exist in the target model are not expanded.

4. Since EXPRQDOBJ caused references for the function to be expanded, it effectively overrides the CPYSUBFUN setting. These settings improve performance since functions are expanded and copied only when they do not exist in the target model. Implicitly required objects that do not exist in the target model are always copied. You should run this in *PREPASS mode and examine the report to ensure that unexpected objects are not copied to the target model.

5. Processing stops since the function's required objects cannot be identified in the target model. A message identifies the function so you can take corrective action; for example, you can explicitly select the function for copy.