To meet your needs, we constantly work to improve Querix products.
This means that Lycia documentation is developing as well.
In case you have found a certain dissonance between the provided information and the actual behavior of Lycia 3 and/or your applications, please, let us know about this via documentation@querix.com so that we can introduce the necessary changes to our documentation.
Thank you for your attention and cooperation.
exec_program() is used to run a 4GL program on a specified GUI server instance. It takes 4 arguments and has the following syntax:
exec_program(command, server, port, user_id)
where:
· command = a variable of VARCHAR data type or a quoted character string, specifying the path to an application to be run,
· server = a variable of the VARCHAR data type or a quoted character string, specifying the IP or the domain name of an application server.
· port = a variable of the VARCHAR data type or a quoted character string, specifying the port used by a GUI server instance (defined by <port> tag in the listener.xml configuration file).
· user_id = a variable of the VARCHAR data type or a quoted character string, specifying the user account to run an application for.
Usage
Here are examples of the exec_program() function:
CALL exec_program("my_program", "192.168.10.213", "default", "SYSTEM")
CALL exec_program("my_program", "190.155.207.10", "secure", "admin")