Newest Log
Posted: Wed Nov 05, 2003 3:12 am
Hello,
I'm trying to get last log event. The problem is that job is multi instance and all instances are running concurrently and when I used following piece of code:
EventId = DSGetNewestLogId(DSJ.ME,DSJ.LOGANY)
LastLog = DSGetLogEntry(DSJ.ME,EventId)
time to time (accidentally) I have got LastLog from the different instance.
I know that the log is common for all instances. Is there some way how to get this information for the corresponding instance?
Thanks
Peter
I'm trying to get last log event. The problem is that job is multi instance and all instances are running concurrently and when I used following piece of code:
EventId = DSGetNewestLogId(DSJ.ME,DSJ.LOGANY)
LastLog = DSGetLogEntry(DSJ.ME,EventId)
time to time (accidentally) I have got LastLog from the different instance.
I know that the log is common for all instances. Is there some way how to get this information for the corresponding instance?
Thanks
Peter