according the doc
4
The file in library-or-path could not be found, because of one of the following reasons:
1.The routine library associated with the routine is not available in the location specified by the EXTERNAL clause in the routine CREATE statement definition.
2.The routine library is dependent on a shared library that cannot be located (within the concatenation of directories specified in the LIBPATH environment variable in UNIX-based systems, or the PATH environment variable in Windows systems). There can be multiple levels of this indirection involved, leading to this reason code. For example, routine body X can be found, and it needs shared library Y which can also be found. But Y needs another shared library Z that cannot be located.
probably point 2. the environment in command window and in crystal reports is not the same.. there is a setting missing in the library path in crystal reports...
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be