Skip to main content

RTS 165 Version number incompatible

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

A program has been developed and compiled on Net Express and then copied over to a UNIX machine. When running the program on the UNIX system, an RTS0165 error is encountered.  

Resolution:

The problem here is that there is likely a library file or COBOL module which isn't looking in the correct pathname caused by a missing or wrong $COBDIR, or a newer version of Object Cobol Developer Suite, Server Express, or Application Server has been installed while parts of a previous product installation have not been removed correctly.

Therefore a check should be done of the opt/lib or cob/lib  (or shlib) and also where the $COBDIR is pointing to.  If it is unknown which versions of product modules and libraries that are installed on the system on which the error is encountered, it is advisable to remove the products completely and reinstall the product to insure that the modules available are not from mixed product releases.

Otherwise the following options can be used if this doesn't help:

If when running a program that has:

intermediate code which has been produced on a version of the COBOL system that is incompatible with the Application Server system be used. The Application Server system, therefore, cannot execute correctly any generated code that is produced or has already been produced from this intermediate code.

Execute a file which is not in the COBOL system's intermediate or generated code.

Load a module whose format is not valid for the operating platform on which your application will be run.

Reinstall the Application Server support module being reported as incompatible, using the installation disks.

Reinstall the Application Server system, using the installation disks.

If no support module name is displayed, most likely intermediate code has benn used which has been produced on a version of the COBOL system that is incompatible with the Application Server system being used. The Application Server, therefore, cannot execute correctly any generated code being produced or has already been produced from this intermediate code.  This can occur when compiling an application on a product version later than the Application Server product which is being used. If this is the case, the option is to update the Application Server product to be of the same or later version than the compiler product.

Old KB# 5226

0 replies

Be the first to reply!