Problem:
When this error is encountered on AIX systems it is generally due to the fact that the LIBPATH environment variable is not set up correctly.
exec(): 0509-036 Cannot load program /usr/lib/cobol/bin/rts32_t because of the following errors:
0509-150 Dependent module libcobrts_t.2.so could not be loaded.
0509-022 Cannot load module libcobrts_t.2.so.
0509-026 System error: A file or directory in the path name does not exist.
cob32: error(s) in compilation: /diapason/diap524/tst/source/FMMOV005.cob
Resolution:
Make sure that the LIBPATH environmental variable points to $COBDIR/lib
set LIBPATH=$COBDIR/lib:$LIBPATH
this should solve the problem.