Marina
19th August 2015, 22:42
Hi,
I need to change the logname during de processing, is it possible?
Thanks.
Marina.
mark_h
20th August 2015, 00:27
Can you give us more details on what you mean by changing the logname? What exactly do you need to do. Aer we talking user login name, error log files, audit file log names. So I am not exactly sure which area you are talking. My first thought was the user login name, I can't think of a reason to change that. So any more information would be helpful for someone to post a solution or answer.
sam291091
20th August 2015, 09:12
Hi Marina,
If you want to do this thru coding then simply assigning logname$ value.
eg. logname$ = "XXXXXXX"
JaapJD
20th August 2015, 09:56
logname$ is a read-only variable! Changing its value may lead to unpredictable results.
sam291091
20th August 2015, 11:04
Hi JaapJD,
I tried this,it is working.
Marina
20th August 2015, 13:49
Hi,
thank you so much for your help!
It worked.
mark_h
20th August 2015, 14:51
Hi Marina,
If you want to do this thru coding then simply assigning logname$ value.
eg. logname$ = "XXXXXXX"
While this might work - I can't understand doing it. I am not sure if BaaN uses this other places for auditing, for logging, etc. That could lead to other issues. And maybe it is completely okay - not sure myself.
JaapJD
20th August 2015, 15:25
Totally agreed, Mark! See my earlier post.