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

SRW.RUN_REPORT_BATCHNO built-in exception

This exception stops the report execution and raises the following error message:


REP-1429: SRW.RUN_REPORT cannot be invoked with batch=no.

Syntax

SRW.RUN_REPORT_BATCHNO;

Usage notes

Reports Builder raises this exception when the SRW.RUN_REPORT procedure is called with a command line string containing BATCH=NO.

Example

Suppose you want your own error message raised, instead of the default error message (above). You could handle this exception in the following way:


EXCEPTION 
WHEN SRW.RUN_REPORT_BATCHNO then 
SRW.MESSAGE(4000, 'Contact Application Dev. Services 
 regarding SRW.RUN_REPORT_BATCHNO.'); 
raise SRW.PROGRAM_ABORT; 

See also

About the Reports Builder built-in package (SRW)

SRW built-in package