Operating system functions

You can use the mi_system() function from within a DataBlade® module or C UDR to execute operating system commands, external user executables, or shell scripts. The mi_system() function creates a child process to execute the command, waits for its completion, and then returns the command's exit status to the calling routine. The child process inherits the user and group IDs of the client running the session. The mi_system() function does not perform any validation on the command you run; therefore, you must run appropriate and accurate commands.

See the HCL OneDB™ DataBlade API Programmer's Guide and HCL OneDB DataBlade API Function Referencefor more details on these functions.