DB2® UDB for iSeries™ SQL consists of these main parts.
SQL run-time parses SQL statements and runs any SQL statements. This support is that part of i5/OS™ licensed program, which allows applications that contain SQL statements to be run on systems where the DB2 UDB Query Manager and SQL Development Kit licensed program is not installed.
SQL interactive interface allows you to create and run SQL statements. For more information about interactive SQL, see Use interactive SQL. Interactive SQL is part of the DB2 UDB Query Manager and SQL Development Kit licensed program.
The Run SQL Scripts window in iSeries Navigator allows you to create, edit, run, and troubleshoot scripts of SQL statements. Run SQL Scripts is a part of iSeries Navigator.
RUNSQLSTM allows you to run a series of SQL statements, which are stored in a source file. See Use the SQL statement processor for more information about the Run SQL Statements command.
DB2 Query Manager for iSeries provides a prompt-driven interactive interface that allows you to create data, add data, maintain data, and run reports on the databases. Query Manager is part of the DB2 UDB Query Manager and SQL Development Kit licensed program. For more information, refer to the Query Manager Use book.
The SQL REXX interface allows you to run SQL statements in a REXX procedure. For more information about using SQL statements in REXX procedures, see the topic Code SQL statements in REXX applications in the Embedded SQL Programming information.
DB2 UDB for iSeries supports the SQL Call Level Interface. This allows users of any of the ILE languages to access SQL functions directly through bound calls to a service program provided by the system. Using the SQL Call Level Interface, one can perform all the SQL functions without the need for a precompile. This is a standard set of procedure calls to prepare SQL statements, run SQL statements, fetch rows of data, and even do advanced functions such as accessing the catalogs and binding program variables to output columns.
For a complete description of all the available functions and their syntax, see the SQL call level interface (ODBC) topic collection in the Database section of the iSeries Information Center.
This application program interface (API) provides an extended dynamic SQL capability. SQL statements can be prepared into an SQL package and then run using this API. Statements prepared into a package by this API persist until the package or statement is explicitly dropped. For more information about the QSQPRCED API, see the QSQPRCED topic. For general information about APIs, see the i5/OS API topic.
This API syntax checks SQL statements. For more information about the QSQCHKS API, see the QSQCHKS topic. For general information about APIs, see the i5/OS API topic.
This feature of the operating system allows your data to be distributed across multiple servers. For more information about DB2 Multisystem, see the DB2 Multisystem topic.
This feature of the operating system provides the query optimizer with additional methods for retrieving data that include parallel processing. Symmetric multiprocessing (SMP) is a form of parallelism achieved on a single system where multiple processors (CPU and I/O processors) that share memory and disk resource work simultaneously toward achieving a single end result. This parallel processing means that the database manager can have more than one (or all) of the system processors working on a single query simultaneously. See the topic Control parallel processing for queries in the Database Performance and Query Optimization topic for details on how to control parallel processing.