Checking Typing

During the assignment of data objects to typed field symbols and actual parameters to typed formal parameters of procedures, the system checks whether the data type of the assigned data object for typing the field symbol or the formal parameter is matching. The general rules for this check apply in strict manner for the assignment of all data objects to field symbols and known data objects to formal parameters. In the assignment of literals to formal parameters, other rules apply in part (see Literals as Actual Parameters).

General Rules

The general rules for checking named data objects are:

Note

In the case of external procedure calls between Unicode and non-Unicode programs and vice versa, the typing check is always done from the view of the caller.