Informix Error -19834: Error in unload due to invalid data : row number.
Cause and resolution
Error in unload due to invalid data : row number.
The column in a row that is being unloaded through an UNLOAD statement has invalid characters for the current locale settings. The output file that is specified in this UNLOAD statement has invalid data on the specified line.
Take corrective action before you can use the unload file for loading the data back into the database. Delete or repair the row under consideration.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-19834 fires when a row's column has characters invalid for the current locale during an
UNLOAD — per the official guidance. The output file has invalid data at the reported line.
- A column value with characters invalid for the current locale, per the official guidance — the direct, only cause.
Solutions / Resolution
- Delete or repair the row before reloading the unload file, per the official guidance — this must be corrected before the file can be used to load data back in.
Examples
Checking a specific row's data
SELECT * FROM mytab WHERE rowid = <row number from the error>;
Diagnostic Checks
- Locate the reported row, and check its column data against the current locale's valid character set.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -19834 in this set yet.
An UNLOADed row has characters invalid for the current locale — delete or repair the row
before reloading.