vee_naresh
7th November 2008, 13:17
Dear all,
Please tell me how to get the process id of an application. Thanks in advance.


Regards,
Naresh V.

george7a
7th November 2008, 13:43
Hi,

The process id of the current running script is stored in the predefined variable called "pid".

To know other PIDs you will have to use the pstat() function (http://www.baanboard.com/programmers_manual_baanerp_help_functions_processes_pstat).

I hope it helps,

- George