Informix Error -22619: UNION declaration not supported.
Cause and resolution
UNION declaration not supported.
This message indicates an IBM Informix ESQL/FORTRAN preprocessor error. The UNION statement is supported only with Green Hills and Sun versions of FORTRAN that include the VMS FORTRAN extensions.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22619 is an ESQL/FORTRAN preprocessor error — per the official guidance, UNION is only
supported with the Green Hills and Sun versions of FORTRAN that include the VMS FORTRAN
extensions.
UNIONused with a FORTRAN compiler other than Green Hills/Sun with VMS extensions, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use a Green Hills or Sun FORTRAN compiler with VMS FORTRAN extensions, per the
official guidance, or avoid
UNION.
Examples
N/A
No specific triggering statement is documented beyond using UNION on an unsupported
compiler.
Diagnostic Checks
- Check the in-use FORTRAN compiler, and confirm it's Green Hills/Sun with VMS
extensions if
UNIONis required.
Related Errors / Related Topics
- -22617 — "STRUCTURE declaration not supported." The same class of VMS-extension-
only restriction, for
STRUCTURErather thanUNION. - -22618 — "RECORD statement not supported." The same class of VMS-extension-only
restriction, for
RECORDrather thanUNION.
UNION was used on a FORTRAN compiler that doesn't support it — use a Green Hills/Sun
compiler with VMS extensions.