TOracleScript

Hi !
(haven't post messages for a while)
I'm making a hot backup...
I used to use a create process to launch a script to do that...
But now, i'd like to know if it is possible with a TOracleScript...
I tried to...but it doesn't seem to work.
For instance, the folowing lines don't seem to work :

"
alter tablespace TBLSPC_SHRELIC begin backup ;
!ocopy C:\ORACLE\ORADATA\CAPTURE\TBLSPC_SHRELIC.DBF C:\CSBCK\TEMP
alter tablespace TBLSPC_SHRELIC end backup ;
"

the !opcopy command doesn't work with TOracle script...and it works when I do such a command on dos...

Thanks for your help,
Laurent
 
The !ocopy command is not supported. You could create your own implementation through the TOracleScript.OnCommand event. See the corresponding help topic for a (very simple) example.

------------------
Marco Kalter
Allround Automations
 
Back
Top