Informix Error -16317: Program variable name expected.
Cause and resolution
Program variable name expected.
A Debugger LET command requires three arguments:
* The identifier of a program variable
* An equal sign (=)
* An expression whose value is assigned to the variable
The identifier could not be recognized in the command that you entered.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16317 fires when a Debugger LET command's variable identifier can't be recognized — per
the official guidance. A LET command requires: a program variable identifier, an equal
sign, and an expression whose value is assigned to the variable.
- An unrecognizable identifier in the
LETcommand's variable position, per the official guidance — the direct, only cause.
Solutions / Resolution
- Repeat the command with a valid program variable identifier before the
=, per the official guidance.
Examples
A LET command with an invalid variable identifier
> LET 1x = 5
Corrected
> LET x = 5
Diagnostic Checks
- Check that the
LETcommand's first argument is a valid program variable identifier.
Related Errors / Related Topics
- -16308 — "Missing function name." A related missing-identifier error, in a
CALLcommand rather than aLETcommand. - -16312 — "Missing or misplaced = sign." A related
LET-command error, about the=itself being missing/misplaced rather than the variable identifier being unrecognized.
The LET command's variable identifier couldn't be recognized — supply a valid program
variable name.