Using SQLDriverConnect() allows the application to rely on the dialog box provided by DB2 CLI to prompt the user for the connection information.
If an application uses its own dialog boxes to query the connect information, the user should be able to specify additional connect options in the connection string. The string should also be stored and used as a default on subsequent connections.