Set explain on fails

Set explain on fails (sqlcode: 586 (I think) ISAM: 1) (Could not open sqexplain.out). We have plenty of disk space and file permissions. It even failed as “root” in /tmp with permissions of rwxrwxrwx. However, as user “informix” in the /tmp directory, but not directories with rwxrwxr-x, it succeeded. This only happens on three of four databases (with very similar schemas) on one machine.

You are probably experiencing a 581 error (Error in loading message file) rather that a 586 error (Cursor already open).

Once you have the correct error message number, you will find that the finderr command is very useful. On the operating system command line, type:

finderr 581
You will get:
Error loading message file
The SET EXPLAIN statement could not be completed because the database server was unable to find the file of message templates it uses when preparing explanatory output. Consult with the person who installed the Informix software.

This error message will definitely point you in the right direction, but it doesn’t give you the entire answer. If you are getting this message, your Informix software was installed incorrectly. However, since you are getting this message, the person who installed the software is probably not going to know what he did wrong in the first place.

The trick here lies in reading the installation manuals and noting the part about the order of Informix software installation. The acronym here to remember is TEN: Tools, Engine, Networking. This is the order in which you must install your Informix components for everything to work properly. So install your tools (4gl, esql, etc.) first, then your database engine, then your Informix networking software (if any).

This is actually a fairly frequent problem because even if the initial product installation is done correctly, you may later receive a tools update and simply load that without remembering that you also need to reload the engine and networking products. Fortunately, this is a relatively simple problem to solve. You should simply need to take your engine down, and then re-install the products in the correct order.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


The Latest

homes in the real estate industry

Exploring the Latest Tech Trends Impacting the Real Estate Industry

The real estate industry is changing thanks to the newest technological advancements. These new developments — from blockchain and AI to virtual reality and 3D printing — are poised to change how we buy and sell homes. Real estate brokers, buyers, sellers, wholesale real estate professionals, fix and flippers, and beyond may

man on floor with data

DevX Quick Guide to Data Ingestion

One of the biggest trends of the 21st century is the massive surge in internet usage. With major innovations such as smart technology, social media, and online shopping sites, the internet has become an essential part of everyday life for a large portion of the population. Due to this internet

payment via phone

7 Ways Technology Has Changed Traditional Payments

In today’s digital world, technology has changed how we make payments. From contactless cards to mobile wallets, it’s now easier to pay for goods and services without carrying cash or using a checkbook. This article will look at seven of the most significant ways technology has transformed traditional payment methods.