Informix Error -4032
-4032 Warning: The structure part of the THRU member "name" is ignored.
The statement included a THRU phrase of the following form:
rec.first THRU rec.last
The correct form is:
rec.first THRU last
The logic is that first THRU last modifies rec.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4032 is a compiler warning about THRU phrasing: per the official guidance, writing
rec.first THRU rec.last is not the correct form — the correct form is rec.first THRU last,
since first THRU last as a whole modifies rec.
- A
THRUphrase repeating the structure prefix on both sides (rec.first THRU rec.last), per the official guidance — the direct, only cause.
Solutions / Resolution
- Use the correct form,
rec.first THRU last, per the official guidance, omitting the repeated structure prefix on the second name.
Examples
An incorrect THRU form
DISPLAY rec.first THRU rec.last
-- -4032: the second "rec." is redundant and ignored
Corrected
DISPLAY rec.first THRU last
Diagnostic Checks
- Check every
THRUphrase involving a structure member, and remove the redundant structure prefix from the second name.
Related Errors / Related Topics
- -4018 — "The columns specified in the THRU option do not belong to the same table." A
related
THRU-option error, about table membership rather than redundant structure prefix syntax. - -4019 — "The columns specified in the THRU option appear in the reverse order." A related
THRU-option error, about column ordering rather than redundant structure prefix syntax.
A THRU phrase repeats the structure prefix on both names — drop the prefix from the second
name.