rajib.koley
20th November 2009, 11:21
Dear All,
I have tried to write a program for an audit trail of a table. In the beggining it fails to retrive the host name when I am using the library aud_select_host() .
In debugging mode the message appears:
"${BSE}/incluide6.1/bic_audlib: Source file not found"



I have written the following code....


#include <bic_audhdr.h>
#include <bic_audlib>



before.program:
long ret
string host(50)
ret = aud_select_host("tdsls040", 100,1, host)
audit.trail()

What should I do ???? Please suggest

bdittmar
20th November 2009, 11:34
Dear All,
I have tried to write a program for an audit trail of a table. In the beggining it fails to retrive the host name when I am using the library aud_select_host() .
In debugging mode the message appears:
"${BSE}/incluide6.1/bic_audlib: Source file not found"



I have written the following code....


#include <bic_audhdr.h>
#include <bic_audlib>



before.program:
long ret
string host(50)
ret = aud_select_host("tdsls040", 100,1, host)
audit.trail()

What should I do ???? Please suggest

Hello,

just a typo or ?

$BSE/include6.1 not incluide6.1 ?

Are the includes available ?

Regards

rajib.koley
20th November 2009, 12:11
Sorry for type mistake.
the message is as follows-
${BSE}/include6.1/bic_audlib: Source file not found

But I have checked the directory the library files are exsist.

suggest please....

Regards-
Rajib

jclju1
20th November 2009, 12:29
Check permissions on file and directory.

rajib.koley
21st November 2009, 06:13
I hv pemissions on the file and folder. is there any problem with the syntax of the this expression

ret = aud_select_host("tdsls040", 100,1, host)

jclju1
21st November 2009, 20:17
Probably not, because your error is "${BSE}/include6.1/bic_audlib: Source file not found".
Is it possible that your program can not interpret variable BSE?

rajib.koley
23rd November 2009, 05:35
Hi jclju1,

kindly suggest what should I do to interpet variable $BSE....

Thanks & Regards-
Rajib Koley

bdittmar
23rd November 2009, 13:01
Hi jclju1,

kindly suggest what should I do to interpet variable $BSE....

Thanks & Regards-
Rajib Koley

Hello,

what jclju1 means,
try full path to your BaaN application instead of the environment variale BSE.
e.g. c:\baan\...... on windows or
/baan/...... on unix.

Regards