Skip to main content

This article explains an error that occurs on AIX systems, with Server Express running in 64-bit mode.

Problem:

When running a COBOL program compiled to .gnt or executable, the following error occurred on an AIX system, with Server Express running in 64-bit mode:

Symptom: error 114 in module "mFFH" when running a COBOL program compiled to .gnt or executable.

The error 114 occurred while running an end-user application program, but could be reproduced using nearly any COBOL program, including the demonstration program pi.cbl provided with Server Express, for example:

mkdir /tmp/test
cd $COBDIR/demo/debug
cp pi.cbl /tmp/test
cd /tmp/test
cob -x pi.cbl
./pi
The symptom did not occur when running .int code. Also, it occurred only in 64-bit mode, not 32-bit mode.
Note: The mode in which Server Express is currently operating can be revealed using the cobmode command.

Additionally, when attempting to debug using Animator, or using system debuggers such as "truss" and "dbx", failed because the debuggers themselves would not run.

Resolution:

This error is caused by the /proc file system not being mounted. The UNIX command df | grep /proc returns nothing under such circumstances. System debuggers such as "truss" and "dbx", as well as the COBOL debugger Animator, and COBOL executable programs in general, require the /proc file system to be mounted, in order to run successfully.

The solution is to modify the disk file /etc/filesystems, specifying "mount = true" for /proc, and then to reboot. The error 114 will disappear and the debuggers will work.

Old KB# 14040