I am trying to read text from a text file and need to use a different directory. In my reading I found how to do it using the init.ora file in the UNIX OS. Unfortunately my DBA is being rebellious and not allowing me to use the init.ora method because of having to bounce the dbase AND the fact that this would have to (in her eyes) be implemented world wide at all similar sites (that are closed to outside world). So my next thought would be how do I change this thing dynamically? In windows I found an article that describes this process but have not been able to find one for unix.
In the init.ora file there needs to be defined a file handle.
UTL_FILE_DIR = /greg/tmp
so in my program I can ...
DECLARE
config_file UTL_FILE.FILE_TYPE
BEGIN
config_file :=UTL_FILE.FOPEN ('/greg/tmp,'blah.txt', 'R')
......read operation......
END;
Is there any way at all in UNIX where you don't need to bounce the dbase by altering hte init.ora file??
In the init.ora file there needs to be defined a file handle.
UTL_FILE_DIR = /greg/tmp
so in my program I can ...
DECLARE
config_file UTL_FILE.FILE_TYPE
BEGIN
config_file :=UTL_FILE.FOPEN ('/greg/tmp,'blah.txt', 'R')
......read operation......
END;
Is there any way at all in UNIX where you don't need to bounce the dbase by altering hte init.ora file??