I need to execute the multiple script having one master sql file. Whenever I used to execute the master calling script named as calling_test.sql if anything error comes need to be rollbacked.
sqlplus USERNAME/PWD@SIR_NAME;
@@calling_test.sql
here is content of calling_test.sql script.
SET echo ON;
SET define ON;
SET scan ON;
define PATH =/krishna/test
define AB_SCHEMA=AIM
spool Test_incremental.log
SET define ON;
@@&&PATH/AUG/2019-08-28/test1.sql
SET define ON;
@@&&PATH/AUG/2019-08-29/test2.sql
SET define ON;
@@&&PATH /AUG/2019-08-30/test3.sql
SET define ON;