Skip to main content

Problem:

How can I diagnose a 30, 22 error on InfoExpress on a UNIX/Linux system?

Resolution:

The full error message is:

COBOL I/O error 30, UNIX error 22

On UNIX/Linux systems, this is defined as:

#define EINVAL 22 /* Invalid argument */

It means that a system call was made from InfoExpress using an arguement that makes no sense. This problem has been reported on two known occassions, in both instances, the problem was due to a misconfigured hosts file, on the line with loopback address.

In particular, this line should always look exactly like this:

127.0.0.1       localhost

You should examine this file on both the client and the server system.

    

Old KB# 4701