The SQL language environment is used to execute SQL statements through DB2. The results of the SQL statement can be returned in the Net.Data default table or in a table specified by you.
Net.Data supports any SQL statement you authorize. You can connect to one database for each HTML section when invoking Net.Data as a CGI application and must specify the database name with the DATABASE variable (except with OS/390). If your DB2 database is on the same machine as the Web server, no additional setup is required. Otherwise, depending on the operating system you use, you can access remote databases by using Client Application Enabler (CAE) or use Database Connection Services (DDCS) to get all the transaction support DB2 supports. You might also be able to use DataJoiner to access other databases. Using DataJoiner lets you use two-phase commit with databases that support it.