Informix Error -6042: Invalid format passed to dbprusing.
Cause and resolution
Invalid format passed to dbprusing.
The format string that was passed to dbprusing() is not acceptable. Verify the value passed, and review the rules of the USING function as described in the reference material for the REPORT feature of IBM Informix 4GL.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-6042 fires when the format string passed to dbprusing() isn't acceptable — per the archived catalogue, the USING-clause rules for the REPORT feature govern what's valid.
- A malformed or unsupported USING format string, per the archived catalogue — the direct, only cause.
Solutions / Resolution
- Review the USING-clause rules in the IBM Informix 4GL REPORT feature's reference material, per the archived catalogue, and verify the format string against them.
Examples
N/A
No specific triggering statement is documented beyond the function-level condition described above.
Diagnostic Checks
- Check the exact format string passed to dbprusing() against the REPORT USING syntax rules.
Related Errors / Related Topics
No closely related error codes are cross-referenced for this code in this set yet.
An invalid USING format string — check it against the REPORT feature's documented syntax rules.