Page History
...
- The
command_script_file
argument points to a file e.g. with the following contentsSQL code:WHENEVER SQLERROR EXIT SQL.SQLCODE
WHENEVER OSERROR EXIT FAILURE
SELECT 'SET business_date IS ' || TO_CHAR(SYSDATE,'dd.mm.yyyy DAY') FROM DUAL;
...
- The
exit_code
will be 0 If the SQL*Plus script terminates successfully. - If
std_err_output
is not empty then the exit code will be set to the value99
. - If either SP2* or ORA-* errors occur then the exit code will be set to the value
98
.
Further References
- JS7 - JITL PLSQLJob
- JS7 - JITL SQLExecutorJob
- How to work with PL/SQL and the Oracle DBMS
- How to run Oracle Stored Procedures using PL/SQL
- The SQLPlusJob JITL job documentation
Overview
Content Tools