When you work with multiple database connections in parallel, you must specify the relevant database session in your embedded SQL statements.To do this, specify the following in <session_spec>:
· In SQL mode INTERNAL, specify the session number <session_number>.
· In SQL mode ORACLE, specify the key word AT and the session name <session_name>.
See also: CONNECT Statement and Overview of Precompiler Statements