ILE RPG Programmer's Guide
When OPTION(*XREF) is specified, the EVAL-CORR summary lists every
subfield in either the source or the target data structure indicating
- whether the subfield is assigned
- the reason the source and target subfields are not considered
to correspond, if the subfield is not assigned
- for subfields that are assigned, additional information that may
affect the assignment such as a difference in the number of array
elements or the null-capability of the subfields
When OPTION(*NOXREF) is specified, the EVAL-CORR summary does not
list any information about corresponding subfields. It only lists
the subfields that do not correspond, with the reason that the subfields
are not considered to correspond.
Figure 251. EVAL-CORR summary
EVAL-CORR summary 1 1 13 14 19 24 2
28
FLD1 Assigned; exact match
FLD2 Assigned; target and source are compatible
Target subfield has fewer elements than source subfield 3
FLD3 Assigned; exact match
Target subfield is null-capable; source subfield is
4 *RNF7349 FLD5 Not same data type in source and target
EVAL-CORR summary 2 22
FLD1 Assigned; exact match
SUBDS 5
SUBF1 Assigned; exact match
Target subfield is defined using OVERLAY
FLD2 Assigned; exact match
*RNF7341 FLD3 In target only.
- 1 EVAL-CORR Summary Number
- Messages in the Additional Diagnostics section refer to the
relevant EVAL-CORR summary by number.
- 2 EVAL-CORR Statement Numbers
- EVAL-CORR operations with the same (either identical or related
through LIKEDS or LIKEREC) source and target data structures share
the same EVAL-CORR summary. In this example, there are five EVAL-CORR
operations with one pair of data structure definitions, and one EVAL-CORR
operation with the other pair.
- 3 Additional Information for a
Subfield
- The subfield is assigned. Additional information is listed
on separate lines.
- 4 Message Indicating that the
Subfield is not Assigned
- The subfield is not assigned. The error message and text indicate
the reason the subfields are not considered to correspond is given.
- 5 Data Structure Subfields
- If the subfield is a data structure, its subfields are listed
with indentation.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]