A script-enabled browser is required for this page to function properly.

ONFAILURE command line keyword

ONFAILURE specifies whether a COMMIT or a ROLLBACK is performed if an error occurs and the report fails to complete.

The executables that can use this keyword are:

rwbuilder yes
rwrun yes
rwclient yes
rwcgi yes
rwserver no
rwservlet yes
rwconverter no

Syntax

ONFAILURE={COMMIT|ROLLBACK|NOACTION}

Values

Description

COMMIT

Perform a COMMIT if the report fails.

ROLLBACK
(default if a USERID is provided)

Perform a ROLLBACK if the report fails.

NOACTION
(default if called from an external source (for example, Oracle Forms) with no USERID provided)

Do nothing if the report fails.

Usage notes

See also

ONSUCCESS

Command line keywords

Using the command line

Running a report from the command line