Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I got "ORA-29284: file read error"!

Status
Not open for further replies.

AlexHarley666

Programmer
Dec 5, 2002
31
0
0
CL
Hello my friends:

I have the next code:

Var_Archivo Utl_File.File_Type;
Var_Ubicacion VarChar2(100):='/usr/tango/v10/pp/bdpfile/';
Var_Existe Boolean;
Var_Largo_Archivo Number(8);
Var_TamañoBloque Number(8);
Var_Linea VarChar2(10000):=Null;
Var_Largo Number(4):=64;
Var_NombArchivo VarChar2(50):=Null;

...

Begin
...

Var_NombArchivo := 'aaa'
Utl_File.FGetAttr(Var_Ubicacion, Var_NombArchivo, Var_Existe, Var_Largo_Archivo, Var_TamañoBloque);
If Var_Existe Then
Var_Archivo := Utl_File.FOpen(Var_Ubicacion,Var_NombArchivo,'r');
Begin
Utl_File.Get_Line(Var_Archivo,Var_Linea,Var_Largo);
...


I got problems at "Utl_File.Get_Line(Var_Archivo,Var_Linea,Var_Largo)"
with ORA-29284 error, but, only for 1000 bytes or more file size.

Please, I need your help for this problem...

Thanks in advance,

ALEX
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top