Skip to main content

This article explains why the cobrun command displays the message cobrun32: cobol version number invalid, call tech support.

Problem:

The command cobrun displays an error . The UNIX commands echo $COBDIR , cd $COBDIR run fine and display the directory. If the command mflicense is used to display the deployment licenses , the following message is displayed:

{directory of Micro Focus product}/bin/mflicense: line 100: {directory of Micro Focus product}: is a directory

What can be done to resolve this?

Resolution:

It is necessary to verify the value of the environment variable. These messages are displayed when this value is with a trailing space. A trailing space can be created with the following sequence:

COBDIR='/opt/microfocus/cobol<space>'

export COBDIR

Old KB# 14887