Informix Error -88305: The flag <flag> is not valid in the current context. </flag>
Cause and resolution
The flag <flag> is not valid in the current context. </flag>
The specified flag is not valid for the current action.
Check command line information and fix the command line.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-88305 fires when a command-line flag isn't valid for the current action — per the official guidance.
- The named flag invalid for the current action, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the command-line information and fix the command line, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid flag for the current context.
Diagnostic Checks
- Check the named flag against the current action's supported flags, and remove or correct it.
Related Errors / Related Topics
- -88301 — "The requested action
is not valid for the current menu or is an incorrect action." A related context-validity error, on the action rather than a flag. - -88306 — "Cannot mix the following flags :
" A related flag-validity error, on mutually exclusive flags rather than a flag invalid for the context.
The named flag isn't valid in the current context — check it against the action's supported flags.