The SQL statements that you can enter from the (input) control file are:
You cannot enter some SQL statements in the Database Services Utility (input) control file. You receive an error message if you attempt to use these statements:
SQL statements entered from a Database Services Utility (input) control file must not be prefixed by EXEC SQL (as they are when embedded within application programs). In DB2 Server for VM, no information should be placed in the input record after the semicolon. This restriction does not apply to positions 73 through 80 of a control-file record when the Database Services Utility control file is assigned as a CMS file. In DB2 Server for VSE, use a semicolon to indicate the end of each SQL statement. Do not use the continuation character required by ISQL for SQL statements that span record boundaries. Except for positions 73 through 80, no information should be placed in the input record after the semicolon.
Database Services Utility flags arithmetic exceptions in outer select-lists by filling the corresponding fields with number (or pound) signs (#). When one or more of these exceptions occur, (for example, when a number is divided by zero) a Database Services Utility and an SQLCODE message are issued after the results are retrieved. If more than one arithmetic exception occurs, only one message--referring to the first exception--is issued. This is to alert you to any warnings occurring during Database Services Utility (input) control file processing.
Figure 78 summarizes the Database Services Utility processing that you can perform on tables and views.
Figure 78. Database Services Utility Processing
Notes:
This rule implies that all input data record varying-length fields must have the same length. Any fields that permit nulls must all be null or must all contain data.