Possible referenced objects for the file object type are as follows:
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.
You may find further information about particular messages by using the i OS Display Message Description (DSPMSGD) command to display the second level text for the message. All YCPYMDLOBJ messages begin with the prefix Y2V5 and reside in the Y2MSG message file.
If any error messages are generated during the pre-pass, no objects can be copied. You must first take action to remove the errors, then rerun the copy. Actions that you may take include:
In order to produce a viable copy of an object, one or more referenced objects may also need to be present in the target model; the referenced object may in turn require further objects. You should be aware of the implications that the inter-dependencies between the objects in a model have for the copying process, and in particular make sure you understand when an associated object will or will not be copied. The rules for copying an object are:
In summary, an object will never be replaced by the YCPYMDLOBJ command unless you explicitly select it.
|
|
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 |
Associated objects copied by YCPYMDLOBJ |
|---|---|
|
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 |
Nothing extra (i.e. files present in the source model that are absent in the target model will not be copied). |
Note that:
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |