DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: UTL_FILE

  1. #1
    Join Date
    Dec 2000
    Posts
    3

    Question

    Using this command, what causes the INVALID_OPERATION exception to be raised?

    DECLARE
    V_FILE_ID UTL_FILE.FILE_TYPE;

    BEGIN
    V_FILE_ID := UTL_FILE.FOPEN ('i:\development\bob\','ftsccf.prn','r');



  2. #2
    Join Date
    Aug 2000
    Location
    Belgium
    Posts
    342
    Is the utl_file parameter set in int.ora ?

    Gert

  3. #3
    Join Date
    Oct 2000
    Posts
    123
    This means file couldn't be opened or operated as requested.
    Probably the drive access is not successfully, check the init.ora file permission and file name also.

    Take care

  4. #4
    Join Date
    Oct 2000
    Posts
    90
    Also in the init.ora, there is a parameter

    utl_file_dir

    Which will have to be set to the directory you are trying to write to and don't forget that you can only write to the machine with the Oracle instance on, not your local PC, so if 'i:\development\bob' is a local drive, it wont work either.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width