This article explains that this error will occur if the PATH is set incorrectly in the environment file.
Problem:
An application comprises of ES/JCL/UDB for batch and TX series/ UDB/ MQ for the online part.
The failing application is the TX series one. The RTS takes place when a transaction is triggered by the MQ monitor.
The problem is the following results:
Load error : file 'cobinterp.2.so'
error code: 164, pc=0, call=1, seg=0
164 Run-Time subprogram not found
Resolution:
This error is the result of the way the PATH was set in the environment file:
COBDIR=/opt/microfocus/cobol
LIBPATH=$COBDIR/lib
TXSeries does not expand the environment variables, therefore the RTS164 occurs. You need to expand the full environement variables, thus writing out the entire path names.