This error is common when a fully-qualified path name cannot be determined, and the most common cause of the ORA-29280 error is a missing directory declaration. The utl_file_fcopy procedure accepts these arguments (location, filename, dest_dir, dest_file, start_line, end_line).
create directory alert_dir as '/u01/app/oracle/mysid/pfile';
create directory tempdir as '/tmp';
utl_file.fcopy(
src_location => 'alert_dir',
src_filename => 'alert_log',
dest_location => 'tempdir',
dest_filename => 'alert_keep',
start_line => 1,
end_line => 50
);
ข้อผิดพลาดทั่วไปเมื่อมีคุณสมบัติครบถ้วนชื่อไม่สามารถกำหนดเส้นทาง และสาเหตุส่วนใหญ่ของ ora-29280 ข้อผิดพลาดเป็นไดเรกทอรีที่หายไป ปฏิญญา ขั้นตอน utl_file_fcopy ยอมรับอาร์กิวเมนต์เหล่านี้ ( ที่อยู่ , ชื่อไฟล์ , dest_dir dest_file start_line , , , end_line )
สร้างไดเรกทอรี alert_dir เป็น ' / u01 / app / oracle / ไมซีด / pfile ' ;
สร้างไดเรกทอรี tempdir เป็น / tmp ' ;
utl_file fcopy (
.src_location = > ' alert_dir ' = > ' src_filename
dest_location alert_log ' = > ' tempdir ' = > '
dest_filename alert_keep '
start_line = > 1 ,
end_line = > 50
) ;
การแปล กรุณารอสักครู่..
