|
This section lists the informative status codes that the MicroKernel can return. The MicroKernel returns these codes as negative values.
The following statements return this status code when they execute successfully:
|
SET SECURITY
|
SET OWNER
|
SET VARIABLE
|
SET TRUENULLCREATE
|
|
SET ROWCOUNT
|
SET TIME ZONE
|
SET DECIMALSEPARATORCOMMA
|
The MicroKernel made the requested change. However, if a SET OWNER statement was issued during a transaction, the change does not take effect until the user begins a new transaction.
The MicroKernel added the specified rows to the table(s).
The MicroKernel made the specified changes to the table(s).
The MicroKernel deleted the specified rows from the table(s).
The following statements return this status code when they execute successfully:
|
CREATE PROCEDURE
|
CREATE TABLE
|
|
CREATE GROUP
|
CREATE TRIGGER
|
|
CREATE INDEX
|
CREATE VIEW
|
The MicroKernel successfully added the group, index, stored procedure, table, trigger, or view to the data dictionary.
The MicroKernel successfully made the requested change to the table dictionary definition. If a column has been altered (including a primary key or foreign key) without specifying the IN DICTIONARY keyword, the MicroKernel also changed the data file.
The following statements return this status code when successfully executed:
The MicroKernel successfully removed the group, index, stored procedure, table, trigger, or view from the dictionary. (Dropping a table also deletes the data file for that table.)
The current SQL statement contains substitution variables and cannot be executed until values are supplied for each variable. If your application allows substitution variables, refer to the documentation included with the application to determine how to use them.
The beginning or the end of the view has been reached.
The MicroKernel assigned the specified rights to the user or group.
The MicroKernel revoked the specified rights from the user or group.
The MicroKernel has begun a transaction. All subsequent statements that you issue are part of this transaction until you issue either a COMMIT WORK or a ROLLBACK WORK statement. For a savepoint, the SAVEPOINT label remains in effect until you explicitly release or roll back to that label, or until the end of any outer transaction within which the savepoint is nested.
The MicroKernel committed the changes made by your transaction to the data tables. You can no longer undo the changes with a ROLLBACK WORK statement. For a RELEASE SAVEPOINT statement, any changes made since the savepoint was declared can no longer be rolled back separately. They can only be committed or rolled back as part of an outer transaction.
The MicroKernel reversed the changes you made during the transaction except for any changes you made with operations that are not affected by transaction processing. If you perform one of the following operations within a transaction, the MicroKernel completes the operation, but you cannot roll back the results:
For a ROLLBACK TO SAVEPOINT statement, any changes made since the savepoint was declared are rolled back.
This status code is obsolete in the MicroKernel versions 4.0 and later, except when using v3.01 Compatibility mode.
This status code is obsolete in the MicroKernel versions 4.0 and later, except when using v3.01 Compatibility mode. In the MicroKernel v4.0 and later, stored procedures are used instead of stored statements.
The MicroKernel executed the stored statement that you submitted for execution.
The following statements return this status code when they execute successfully:
If you issued a DECLARE statement, the MicroKernel successfully created the cursor, variable, or condition you defined.
The SET variable = expression statement returns this status code upon successful completion.
The OPEN CURSOR statement returns this status code upon successful completion.
The CLOSE CURSOR statement returns this status code upon successful completion.
The FETCH statement returns this status code upon successful completion.
The UPDATE [table_reference] SET set_clause WHERE CURRENT OF statement returns this status code upon successful completion.
The DELETE [FROM table_reference] WHERE CURRENT OF cursor_name statement returns this status code upon successful completion.
The CALL statement returns this status code upon successful completion. This status code indicates the successful completion condition for the stored procedure.
|
Chapter contents
Prev topic: -1000 to -5300
|