The fork() operating-system call

In the DCE environment, restrict use of the fork() operating-system call. In general, terminate all threads but one before you call fork(). An exception to this rule is when a call to the fork() system call immediately follows the fork() call. If your application uses fork(), it is recommended that the child process call sqldetach() before it executes any HCL OneDB™ ESQL/C statements.