Problem:
When executing or debugging an OpenESQL application, the following error is returned:
OpenESQL Error: You must execute your application using the threaded COBOL run-time.
Resolution:
The ODBC driver manager is typically linked with the threaded C run-time. On some flavors of UNIX, such as HP/UX PA-RISC and HP/UX Itanium, if you attempt to execute an application with the non-threaded run-time, which attempts to load a module requiring the threaded run-time, you will receive an Operating System loader error.
OpenESQL applications on UNIX should be built and executed for use with the threaded COBOL run-time, for example :
cob -t myapp.cbl
cobrun_t myapp
or, to debug the application :
anim_t myapp
