Previous Topic: ERRLVL

Next Topic: Example

Notes

file not found

file already exists

Possible referenced objects for the field object type are as follows:

Possible referenced objects for the access path object type are as follows:

Possible referenced objects for the functions object type are as follows:

Note: Functions called by a selected function (other than built-in functions and message functions) are not copied unless they too are selected or unless CPYSUBFUN is specified to be *DBF, *INT or *ALL as appropriate. See also the Note later in this section on CPYSUBFUN and EXPRQDOBJ for details.

The possible referenced object for the messages object type is as follows:

There are no referenced objects for the Application areas object type.

Note: The expand list does not automatically include functions of type SELRCD which are implicitly, rather than explicitly, referenced by other functions. If there are fields with a user-defined data type of the same name in both models, fields from the source model will take the attributes of the data type in the target model, unless the internal/external conversion functions do not match; that is, the target model data type attributes will not be overwritten.

 

Effect on Target Model

 

Selection in Model list

`

Not already present

Explicit

REPLACE

ADD

Implicit

DO NOT COPY

ADD

The following table shows for each object type the possible referenced object types that may be copied or replaced.:

Object
Selected

Associated objects copied by YCPYMDLOBJ
(Unless object already exists in the target model)

FIELD

Any conditions based on the field

Any referenced field if it does reference another field

External message identifiers

FILE

Relationships that define the file

Fields referenced by the relationships

Other files referenced by the relationships

"Not found" and "already exists" messages associated with the file

ACCESS PATH

File on which the access path is based

Any other access paths the access path references

FUNCTION

Access path on which the function is based

Any messages the function uses

Any function fields the function uses

Any fields used as parameter

Any access paths used to define the parameters

MESSAGE

Fields used as message parameters

Any access paths used to define message parameters

Any files upon which the access paths are based

APPLICATION
AREA

Nothing extra (i.e. files present in the source model that are absent in the target model will not be copied).

Note that: