Here how to open an Input Box and get the value inserted by the user
Here how-to run an X3 report programmatically.
Here how to create a CLOB text
The following Subprog returns into an Integer array the list of all running processes of clients connected to X3 application server.
The Subprog needs this two local variables as parameters:
XPROCID, an Integer array in which are inserted the numbers of running processes
XNUM, an Integer which returns the count of running processes