nothing happened, i.e. UNIX copy command does not generated the new file ‘a.lis.copied’.
I have been granted execute access to DBMS_PIPE.
I am on Oracle8i 8.1.7.4.0.
What am I doing wrong?
To step further, I am bit puzzled how oracle knows am I requesting the execution of a system command, PL/SQL procedure or a SQL query (syntax wise)?
How can we see in which session would show up the result of our piped PL/SQL or SQL commands?
Could I send DBMS_ALERT’s directly to UNIX or have to call implicitly DBMS_PIPE?
This time copied and passed everything from this web site http://www.uaex.edu/srea/daemon.sql the daemon package.
Run it on the server again without any success.
Error message:
DECLARE
*
ERROR at line 1:
ORA-20011: Execute_system: Error while receiving.
Status = 1
ORA-06512: at "RIMS.DAEMON", line 26
ORA-06512: at line 30
I tested with this script the daemon.execute_system function :
SET SERVEROUTPUT ON SIZE 100000
SET PAGES 5000
SET LINESIZE 160
DECLARE
l_line VARCHAR2(2048);
l_status INTEGER;
BEGIN
deb.enable_debug(1000000);
deb.trace(0,'unix_command', 'BEFORE');
l_line := 'cp /rims/live/bespoke/viktor/bloomberg/a.lis /rims/live/bespoke/viktor/bloomberg/a.lis.de';
Bookmarks