SRW.RUN_REPORT_BATCHNO
built-in exceptionThis exception stops the report execution and raises the following error message:
REP-1429: SRW.RUN_REPORT cannot be invoked with batch=no.
SRW.RUN_REPORT_BATCHNO;
Reports Builder raises this exception when the SRW.RUN_REPORT
procedure is called with a command line string containing BATCH=NO
.
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;
About the
Reports Builder built-in package (SRW
)
Copyright © 1984, 2005, Oracle. All rights reserved.