01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Values<br />

■ COMMIT Perform a COMMIT if <strong>the</strong> report fails.<br />

■ ROLLBACK Perform a ROLLBACK if <strong>the</strong> report fails.<br />

■ NOACTION Do nothing if <strong>the</strong> report fails.<br />

Default<br />

■ ROLLBACK, if a USERID is provided.<br />

Command Line Keywords<br />

■ NOACTION, if called from an external source (for example, <strong>Oracle</strong>AS Forms<br />

Services) with no USERID provided.<br />

Usage Notes<br />

A.4.57 ONSUCCESS<br />

■ The COMMIT or ROLLBACK for ONFAILURE is performed after <strong>the</strong> report fails.<br />

O<strong>the</strong>r COMMITs and ROLLBACKs can occur prior <strong>to</strong> this one. For more information,<br />

see <strong>the</strong> READONLY command.<br />

■ ONFAILURE can be used when running JSP-based <strong>Web</strong> reports from <strong>the</strong> command<br />

line.<br />

Table A–68 indicates which commands can use <strong>the</strong> ONSUCCESS keyword.<br />

Table A–68 Commands that can use ONSUCCESS<br />

rwclient rwrun rwbuilder rwconverter rwservlet rwcgi rwserver<br />

yes yes yes no yes yes no<br />

Description Use ONSUCCESS <strong>to</strong> specify that ei<strong>the</strong>r a COMMIT or ROLLBACK should be<br />

performed when a report is finished running.<br />

Syntax ONSUCCESS={COMMIT|ROLLBACK|NOACTION}<br />

Values<br />

■ COMMIT Perform a COMMIT when a report is done.<br />

■ ROLLBACK Perform a ROLLBACK when a report is done.<br />

■ NOACTION Do nothing when a report is done.<br />

Default<br />

■ COMMIT, if a USERID is provided.<br />

■ NOACTION, if called from an external source (for example, <strong>Oracle</strong>AS Forms<br />

Services) with no USERID provided.<br />

Usage Notes<br />

■ The COMMIT or ROLLBACK for ONSUCCESS is performed after <strong>the</strong> after-report<br />

trigger fires. O<strong>the</strong>r COMMITs and ROLLBACKs can occur prior <strong>to</strong> this one. For more<br />

information, see <strong>the</strong> READONLY command.<br />

■ ONSUCCESS can be used when running JSP-based <strong>Web</strong> reports from <strong>the</strong> command<br />

line.<br />

Command Line Options A-51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!