Informix Error -4383
-4383 The elements name-1 and name-2 do not belong to the same parent record.
The two names shown are used where two components of one record are required; however, they are not components of the same record. Check the spelling of both names. If they are spelled as you intended, go back to the definition of the record and see why it does not include both names as component fields.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4383 fires when two names are used where two components of one record are required, but they're components of different records — per the official guidance, this is a direct structural mismatch.
- Two names, from different parent records, used where two components of the same record are required, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the spelling of both names, per the official guidance.
- If they're spelled as intended, review the record's definition to find out why it doesn't include both as components, per the official guidance.
Examples
A THRU range spanning two different records
DEFINE rec1 RECORD
a INTEGER,
b INTEGER
END RECORD
DEFINE rec2 RECORD
c INTEGER
END RECORD
DISPLAY rec1.a THRU rec2.c
-- -4383: a and c belong to different records
Corrected
DISPLAY rec1.a THRU rec1.b
Diagnostic Checks
- Check whether both names genuinely belong to the same parent record, and correct whichever one doesn't.
Related Errors / Related Topics
- -4384 — "The symbol name does not represent the element of any record." A related record-component error, about a name that isn't a record component at all, rather than two names belonging to different records.
Two names used where two components of one record are required actually belong to different records — check their spelling and the record's definition.