Skip to main content

cobtidy and cobexit behave differently between OCDS and Server Express

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Release 4.0:

A customer upgraded from OCDS to Server Express 4.0 SP2 and run into problems with cobtidy and cobexit.

Running a c program calling Cobol programs and doing cobtidy before the exit(0) of the C program results in hanging.

The problem is that the C program is hanging just after the cobtidy() and waiting forever.Having tried cobexit() instead of normal C exit and removed cobtidy, this time it hangs with cobexit()!

Resolution:

Solution is to compile with -t for multi threaded. OCDS and Server Express are not the same products and multi threaded (-t) is one of them. With Server Express you have to specifically include this in the compile command.

Old KB# 3698