Informix Error -22617: STRUCTURE declaration not supported.
Cause and resolution
STRUCTURE declaration not supported.
This message indicates an IBM Informix ESQL/FORTRAN preprocessor error. The STRUCTURE statement is supported only with the Green Hills and Sun versions of FORTRAN that include the VMS FORTRAN extensions.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-22617 is an ESQL/FORTRAN preprocessor error — per the official guidance, STRUCTURE is
only supported with the Green Hills and Sun versions of FORTRAN that include the VMS
FORTRAN extensions.
STRUCTUREused 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
STRUCTURE.
Examples
N/A
No specific triggering statement is documented beyond using STRUCTURE on an unsupported
compiler.
Diagnostic Checks
- Check the in-use FORTRAN compiler, and confirm it's Green Hills/Sun with VMS
extensions if
STRUCTUREis required.
Related Errors / Related Topics
- -22618 — "RECORD statement not supported." The same class of VMS-extension-only
restriction, for
RECORDrather thanSTRUCTURE. - -22619 — "UNION declaration not supported." The same class of VMS-extension-only
restriction, for
UNIONrather thanSTRUCTURE.
STRUCTURE was used on a FORTRAN compiler that doesn't support it — use a Green
Hills/Sun compiler with VMS extensions.