ONINIT_STDOUT environment variable (Windows)
The ONINIT_STDOUT environment variable specifies a path and file name in which output from the oninit command is stored.
While it is not generally necessary to view output from the oninit command, it might be necessary in certain situations, such as when using the -v (verbose) option or when you want to see output from an unhandled exception in a process launched within a virtual processor. When the value of ONINIT_STDOUT is set to the name of a file, output from the oninit command is written to the file.
You can set the ONINIT_STDOUT environment variable as a system variable in . If the HCL OneDB™ service is configured to log on as user informix, start the service using the starts command after setting the environment variable. Note, however, that because environment variables are read from the system when the service is started, if the service is set to log on as the local system user, you must restart your computer for the environment variable to take effect. Because the local system user is effectively logged on at all times, environment variables are refreshed only when the operating system is restarted.
starts %INFORMIXSERVER% -v
The oninit messages
are saved to the C:\temp\oninit_out.txt file.