Informix Error -32408: Cannot create MODE ANSI database without specifying transaction log pathname.
Cause and resolution
Cannot create MODE ANSI database without specifying transaction log pathname.
You tried to create an ANSI-compliant database on IBM Informix SE but did not specify a pathname for the mandatory unbuffered transaction logging. Select the Mode_ansi option of DB-Access again, or revise your CREATE DATABASE statement and enter the full log pathname.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-32408 fires when creating an ANSI-compliant database on IBM Informix SE without specifying the mandatory unbuffered transaction-log pathname — per the official guidance.
- No transaction-log pathname specified for an ANSI-mode database on Informix SE, per the official guidance — the direct, only cause; ANSI compliance requires unbuffered transaction logging.
Solutions / Resolution
- Select the Mode_ansi option in DB-Access again, per the official guidance, or
revise the
CREATE DATABASEstatement to include the full log pathname, per the official guidance.
Examples
Missing log pathname
CREATE DATABASE mydb WITH LOG MODE ANSI;
-- -32408: Informix SE requires an explicit log pathname for ANSI mode
Corrected
CREATE DATABASE mydb WITH LOG MODE ANSI IN '/informix/logs/mydb.log';
Diagnostic Checks
- Check the
CREATE DATABASEstatement for a full transaction-log pathname when creating an ANSI-mode database on Informix SE.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -32408 in this set yet.
An ANSI-mode database was created on Informix SE without a transaction-log pathname — supply the full log pathname.