Previous Topic: OverviewNext Topic: Utility Statements


Statement Coding Considerations

Statement components

Utility statements consist of:

Separators are not required:

Delimiting statements

When you use the command facility to submit utility statements, you must terminate each statement with a statement delimiter, which by default is a semicolon (;). You can enter the delimiter either on the same line as the rest of the statement or on a separate line. For example, the two statements shown next are equivalent:

format area emp-region-area;

format area emp-region-area;

Continuing statements

You can code utility statements on one or more lines. No special character is required to indicate that a statement continues on the next line.

Quotation marks around identifiers

In a utility statement, you must enclose a database entity identifier in double quotation marks if the identifier includes significant lowercase characters, special characters (except a dash (-)), or blanks. Place the quotation marks only around the individual identifier for which they are required (for example, SALESSEG."EST%_SPACE").

Note that all identifiers can contain dashes even when not quoted. For example, SALES-SEG."EST%_SPACE".

More Information

Maximum statement length

A utility statement can be at most 8,192 bytes long. If you are using only single-byte characters, the maximum number of characters equals the maximum number of bytes. If any user-supplied values contain double-byte characters, the maximum number of characters is less than the maximum number of bytes.