| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> problem on webserver with utl_file package on oracle 7.3.3
I was wonder if anyone has encountered this problem:
Oracle: 7.3.3 on solaris 2.5
Webserver: 2.1 or 3.0
package: UTL_FILE
the following is the PL/SQL code
CREATE OR REPLACE PROCEDURE utlfile1
IS
v_outfile UTL_FILE.FILE_TYPE;
filedate VARCHAR2(20);
filename VARCHAR2(20);
BEGIN
filedate := TO_CHAR(SYSDATE,'MM/DD/YY HH24:MI:SS');
filename := 'DupF-' || TO_CHAR(SYSDATE, 'HH24MISS');
v_outfile := UTL_FILE.FOPEN('/tmp', filename, 'w');
utl_file.putf(v_outfile, ' report created: ' ||
filedate || '\n\n\n');
utl_file.putf(v_outfile, '***Broadcaster: ');
utl_file.putf(v_outfile, '\n');
utl_file.fclose(V_outfile);
notice there are only a few line in the procedure. If I get rid of the functions related to UTL_FILE (like FOPEN etc), I can call it from the web without any problem at all.
Anyone has a clue? I've contacted Oracle Technical support, to no avail. Received on Fri Jun 27 1997 - 00:00:00 CDT
![]() |
![]() |