How can you do that?
- Create java source and function docmd from script.
- Grant Java permissions, the simplest way is to execute function docmd, java command to grant permissions will be showed on output.
3.Enjoy this.
Usage:
– this code renames file on unix system:
begin
dbms_output.put_line(docmd(’/usr/bin/mv’,’/usr/file1 /usr/file2’));
end;
Regards Piter