Informix Error -9265: Invalid xadatasource name.
Cause and resolution
Invalid xadatasource name.
The xadatasource name passed as argument is invalid. The valid format for the xadatasource name is 'xadatasourcename' or 'owner.xadatasourcename'.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9265 fires when the xadatasource name passed as an argument doesn't match the valid format — per the official guidance.
- A name not in the form
'xadatasourcename'or'owner.xadatasourcename', per the official guidance — the direct, only cause.
Solutions / Resolution
- Use the valid format,
'xadatasourcename'or'owner.xadatasourcename', per the official guidance.
Examples
An invalid xadatasource name format
EXECUTE PROCEDURE xa_register('ds1:extra'); -- -9265: not a valid name format
Corrected
EXECUTE PROCEDURE xa_register('ds1');
EXECUTE PROCEDURE xa_register('owner.ds1');
Diagnostic Checks
- Check the xadatasource name argument's format, and correct it to
'xadatasourcename'or'owner.xadatasourcename'.
Related Errors / Related Topics
- -9267 — "Xadatasource name is not present in the database." A related xadatasource name error, on nonexistence rather than format validity.
The xadatasource name argument wasn't in the valid 'name'/'owner.name' format — correct
it.