Informix Error -4644: The HELP and ATTRIBUTE clauses each can be specified only once.
Cause and resolution
The HELP and ATTRIBUTE clauses each can be specified only once.
Within the scope of an INPUT or DISPLAY ARRAY statement, only one of each of these clauses may be given. Search backward in the source module from this statement; locate all the statements of this type, and reconcile them into one.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-4644 fires when an INPUT or DISPLAY ARRAY statement has more than one HELP clause, more
than one ATTRIBUTE clause, or both — per the official guidance, each clause is allowed only
once within the statement's scope.
- More than one
HELPclause within oneINPUT/DISPLAY ARRAYstatement, per the official guidance. - More than one
ATTRIBUTEclause within oneINPUT/DISPLAY ARRAYstatement, per the official guidance.
Solutions / Resolution
- Search backward in the source module from this statement, per the official guidance, to locate all the statements of the duplicated clause type.
- Reconcile them into one, per the official guidance.
Examples
Duplicate ATTRIBUTE clauses
INPUT BY NAME rec.*
ATTRIBUTE(REVERSE)
...
ATTRIBUTE(BOLD)
-- -4644: ATTRIBUTE already given above
END INPUT
Corrected
INPUT BY NAME rec.*
ATTRIBUTE(REVERSE, BOLD)
END INPUT
Diagnostic Checks
- Search the statement's scope for more than one
HELPorATTRIBUTEclause, and combine them into a single clause of each kind.
Related Errors / Related Topics
- -4490 — "You cannot have multiple BEFORE clauses for the same field." A related
duplicate-clause restriction, about per-field
BEFOREclauses rather than statement-levelHELP/ATTRIBUTEclauses.
An INPUT/DISPLAY ARRAY statement has more than one HELP or ATTRIBUTE clause — combine
them into one of each.