Quantcast
Channel: Toad for Oracle Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4385

Need help with @@executefromthisdir.sql in Automation Designer

$
0
0

I am new to TOAD and its Automation 

The following executes fine when executing by itself, after including as a script in the Automation Designer when run I get

Script C:\DATALO~1\dir~1\CHANGE~1\dir\MASTER~1.SQL was executed with 3 errors and 1 compile error.

set define off
set echo on
set term on
set time on
set timing on
set verify on

spool Master_Log.log
Prompt "START Master "

@@executefromthisdir1.sql
@@executefromthisdir2.sql
@@executefromthisdir3.sql

spool off
Prompt "END Master "

I believe it is not recognizing the @@

I have many similar files to execute that are generated by a program and I need to execute them against many databases (have done this with a list of sql files, but without the @@).  Thus the automation need.

Please help me to move in the right direction

aTdHvAaNnKcSe

Fred


Viewing all articles
Browse latest Browse all 4385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>